From 04bd549180cd55eca9018e56aab78de3a9e8e1e1 Mon Sep 17 00:00:00 2001 From: Richard Weinberger Date: Mon, 29 Apr 2013 16:18:19 -0700 Subject: [PATCH] --- yaml --- r: 365674 b: refs/heads/master c: c2409b004ac4757ac5121851f8a58e0bcbcf7a3c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/init/main.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index aa9472c29aee..37ece1317f81 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f91eb62f71b31e69e405663ff8d047bc3b9f7525 +refs/heads/master: c2409b004ac4757ac5121851f8a58e0bcbcf7a3c diff --git a/trunk/init/main.c b/trunk/init/main.c index 26cd398acf2a..e1c87e1d6359 100644 --- a/trunk/init/main.c +++ b/trunk/init/main.c @@ -825,7 +825,7 @@ static int __ref kernel_init(void *unused) if (ramdisk_execute_command) { if (!run_init_process(ramdisk_execute_command)) return 0; - printk(KERN_WARNING "Failed to execute %s\n", + printk(KERN_ERR "Failed to execute %s\n", ramdisk_execute_command); } @@ -838,7 +838,7 @@ static int __ref kernel_init(void *unused) if (execute_command) { if (!run_init_process(execute_command)) return 0; - printk(KERN_WARNING "Failed to execute %s. Attempting " + printk(KERN_ERR "Failed to execute %s. Attempting " "defaults...\n", execute_command); } if (!run_init_process("/sbin/init") || @@ -884,7 +884,7 @@ static noinline void __init kernel_init_freeable(void) /* Open the /dev/console on the rootfs, this should never fail */ 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_ERR "Warning: unable to open an initial console.\n"); (void) sys_dup(0); (void) sys_dup(0);