[PATCH] do_mounts.c printk fix

From: Alexander Viro (viro@math.psu.edu)
Date: Sun May 05 2002 - 16:22:53 EST


        D'uh. Linus, 2.5 also needs that one.

BTW, folks - whoever had submitted "fixes" replacing /dev/root.old with
/old/dev/root.old several lines above that one are welcome to think
about the reasons why their patches removed "failed" from boot log.

diff -urN S19-pre8-change_floppy/init/do_mounts.c S19-pre8-current/init/do_mounts.c
--- S19-pre8-change_floppy/init/do_mounts.c Fri May 3 19:41:09 2002
+++ S19-pre8-current/init/do_mounts.c Sun May 5 16:35:44 2002
@@ -807,7 +807,7 @@
                         error = sys_ioctl(fd, BLKFLSBUF, 0);
                         close(fd);
                 }
- printk(error ? "okay\n" : "failed\n");
+ printk(!error ? "okay\n" : "failed\n");
         }
 #endif
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:25 EST