Openwrt/target/linux/generic-2.6/patches-2.6.24/840-unable_to_open_console.patch

14 lines
510 B
Diff
Raw Normal View History

Index: linux-2.6.24.7/init/main.c
===================================================================
--- linux-2.6.24.7.orig/init/main.c
+++ linux-2.6.24.7/init/main.c
@@ -773,7 +773,7 @@ static int noinline 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);