From 2b99577e92a39c6dc446f45dbfd628cdf739a4f2 Mon Sep 17 00:00:00 2001
From: Rumko <rumcic@gmail.com>
Date: Wed, 14 Apr 2010 21:09:48 +0000
Subject: [PATCH 4/4] Wrong variable used.

---
 sys/vfs/tmpfs/tmpfs_vnops.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sys/vfs/tmpfs/tmpfs_vnops.c b/sys/vfs/tmpfs/tmpfs_vnops.c
index 936f27d..ce250d8 100644
--- a/sys/vfs/tmpfs/tmpfs_vnops.c
+++ b/sys/vfs/tmpfs/tmpfs_vnops.c
@@ -608,7 +608,7 @@ tmpfs_write (struct vop_write_args *ap)
 		}
 
 		if (bp->b_error) {
-			kprintf("tmpfs_write bwrite error %d\n", error);
+			kprintf("tmpfs_write bwrite error %d\n", bp->b_error);
 			break;
 		}
 	}
-- 
1.6.6.2

