openwrtv3/target/linux/generic-2.6/patches-2.6.32/840-unable_to_open_console.patch

12 lines
425 B
Diff
Raw Normal View History

--- a/init/main.c
+++ b/init/main.c
@@ -819,7 +819,7 @@ static noinline int init_post(void)
printk(KERN_INFO"Running BFS CPU scheduler v0.302 by Con Kolivas.\n");
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);