diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-05-05 01:12:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-05-05 01:12:00 -0700 |
| commit | a0f9f9c7c577539e7b49963425aa432003ea447a (patch) | |
| tree | 6d8a6cec78589fe661483b0b4fc6c74db3a39efc | |
| parent | ae36945e5712fd2c86a145c8d52d4e65699ab119 (diff) | |
[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.
| -rw-r--r-- | init/do_mounts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c index d8a3646f4545..29b870eb4809 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -791,7 +791,7 @@ static void __init handle_initrd(void) error = sys_ioctl(fd, BLKFLSBUF, 0); close(fd); } - printk(error ? "okay\n" : "failed\n"); + printk(!error ? "okay\n" : "failed\n"); } #endif } |
