Commit a0f9f9c7 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[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.
parent ae36945e
...@@ -791,7 +791,7 @@ static void __init handle_initrd(void) ...@@ -791,7 +791,7 @@ static void __init handle_initrd(void)
error = sys_ioctl(fd, BLKFLSBUF, 0); error = sys_ioctl(fd, BLKFLSBUF, 0);
close(fd); close(fd);
} }
printk(error ? "okay\n" : "failed\n"); printk(!error ? "okay\n" : "failed\n");
} }
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment