lkml.org 
[lkml]   [2002]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] do_mounts.c printk fix
	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/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.024 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site