[kernel] refresh generic 2.6.25 patches
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.25 / 840-unable_to_open_console.patch
1 Index: linux-2.6.25.4/init/main.c
2 ===================================================================
3 --- linux-2.6.25.4.orig/init/main.c
4 +++ linux-2.6.25.4/init/main.c
5 @@ -775,7 +775,7 @@ static int noinline init_post(void)
6 numa_default_policy();
7
8 if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
9 - printk(KERN_WARNING "Warning: unable to open an initial console.\n");
10 + printk(KERN_WARNING "Please be patient, while OpenWrt loads ...\n");
11
12 (void) sys_dup(0);
13 (void) sys_dup(0);