[PATCH 8/9] startup: switch to pr_xxx
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Thu Mar 7 16:26:33 EST 2013
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
common/startup.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/common/startup.c b/common/startup.c
index e49cc4c..ff00ca7 100644
--- a/common/startup.c
+++ b/common/startup.c
@@ -120,7 +120,7 @@ void __noreturn start_barebox(void)
ret = envfs_load(default_environment_path, "/env", 0);
if (ret && IS_ENABLED(CONFIG_DEFAULT_ENVIRONMENT)) {
- printf("no valid environment found on %s. "
+ pr_err("no valid environment found on %s. "
"Using default environment\n",
default_environment_path);
envfs_load("/dev/defaultenv", "/env", 0);
@@ -128,17 +128,17 @@ void __noreturn start_barebox(void)
}
if (IS_ENABLED(CONFIG_COMMAND_SUPPORT)) {
- printf("running /env/bin/init...\n");
+ pr_info("running /env/bin/init...\n");
if (!stat("/env/bin/init", &s)) {
run_command("source /env/bin/init", 0);
} else {
- printf("not found\n");
+ pr_err("/env/bin/init not found\n");
}
}
if (!barebox_main) {
- printf("No main function! aborting.\n");
+ pr_err("No main function! aborting.\n");
hang();
}
--
1.7.10.4
More information about the linux-arm-kernel
mailing list