summaryrefslogtreecommitdiffstats
path: root/common/startup.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-02-27 12:23:29 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-03-07 07:41:26 +0100
commit93578fb2333bba3d1c2d0fa41de11ba4f92f9aed (patch)
tree0ded5f8c7eff310f441fe2cf1c939bbe3a86291b /common/startup.c
parent3ea30d9ce892a66d5161acd8afb24b755e3f2045 (diff)
downloadbarebox-93578fb2333bba3d1c2d0fa41de11ba4f92f9aed.tar.gz
run_command: remove unused flag parameter
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/startup.c')
-rw-r--r--common/startup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/startup.c b/common/startup.c
index 0b5fe46..04f8cf0 100644
--- a/common/startup.c
+++ b/common/startup.c
@@ -137,11 +137,11 @@ void __noreturn start_barebox(void)
pr_info("running /env/bin/init...\n");
if (!stat("/env/bin/init", &s)) {
- run_command("source /env/bin/init", 0);
+ run_command("source /env/bin/init");
} else {
pr_err("/env/bin/init not found\n");
if (IS_ENABLED(CONFIG_CMD_LOGIN))
- while(run_command("login -t 0", 0));
+ while(run_command("login -t 0"));
}
}