openwrt/target/linux/generic-2.6/patches-2.6.33/840-unable_to_open_console.patch
Matteo Croce 5ddd984cff kernel: add 2.6.33 patches
SVN-Revision: 19905
2010-02-28 15:20:00 +00:00

12 lines
377 B
Diff

--- a/init/main.c
+++ b/init/main.c
@@ -807,7 +807,7 @@ static noinline int init_post(void)
numa_default_policy();
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);