openwrtv4/target/linux/generic/patches-3.1/920-unable_to_open_console.patch
Jonas Gorski 40d088446f linux: generic: refresh patches for 3.1-rc10
Hopefully the last one and identical to final.

SVN-Revision: 28492
2011-10-20 10:32:44 +00:00

11 lines
425 B
Diff

--- a/init/main.c
+++ b/init/main.c
@@ -818,7 +818,7 @@ static int __init kernel_init(void * unu
/* 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);