openwrtv3/target/linux/generic/patches-3.7/920-unable_to_open_console.patch
2012-11-18 18:52:38 +00:00

11 lines
425 B
Diff

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