[generic]: add 3.7-rc6 support (patch 820 still has to be fixed)
[openwrt.git] / target / linux / generic / patches-3.7 / 920-unable_to_open_console.patch
1 --- a/init/main.c
2 +++ b/init/main.c
3 @@ -877,7 +877,7 @@ static void __init kernel_init_freeable(
4  
5         /* Open the /dev/console on the rootfs, this should never fail */
6         if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
7 -               printk(KERN_WARNING "Warning: unable to open an initial console.\n");
8 +               printk(KERN_WARNING "Please be patient, while OpenWrt loads ...\n");
9  
10         (void) sys_dup(0);
11         (void) sys_dup(0);