Wrong variable used.
authorRumko <rumcic@gmail.com>
Wed, 14 Apr 2010 21:09:48 +0000 (21:09 +0000)
committerSascha Wildner <saw@online.de>
Mon, 26 Apr 2010 09:46:25 +0000 (11:46 +0200)
sys/vfs/tmpfs/tmpfs_vnops.c

index 936f27d..ce250d8 100644 (file)
@@ -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;
                }
        }