openwrtv4/target/linux/generic/patches-3.10/920-unable_to_open_console.patch

12 lines
399 B
Diff
Raw Normal View History

--- a/init/main.c
+++ b/init/main.c
@@ -881,7 +881,7 @@ static noinline void __init kernel_init_
/* Open the /dev/console on the rootfs, this should never fail */
if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
- pr_err("Warning: unable to open an initial console.\n");
+ pr_err("Please be patient, while OpenWrt loads ...\n");
(void) sys_dup(0);
(void) sys_dup(0);