openwrt/target/linux/generic-2.6/patches-2.6.35/840-unable_to_open_console.patch
Alexandros C. Couloumbis 4503e77b0d generic-2.6: add kernel 2.6.35 preliminary support (patches)
SVN-Revision: 21696
2010-06-07 05:56:49 +00:00

12 lines
425 B
Diff

--- a/init/main.c
+++ b/init/main.c
@@ -887,7 +887,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);