Openwrt/target/linux/generic-2.6/patches-2.6.25/840-unable_to_open_console.patch
Imre Kaloz 08dc68c9df add proper 2.6.25 support
SVN-Revision: 10865
2008-04-19 15:20:44 +00:00

14 lines
549 B
Diff

Index: linux-2.6.23.14/init/main.c
===================================================================
--- linux-2.6.23.14.orig/init/main.c 2008-01-25 19:12:45.000000000 +0100
+++ linux-2.6.23.14/init/main.c 2008-01-25 19:12:52.000000000 +0100
@@ -780,7 +780,7 @@
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);