diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-27 12:23:29 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-07 07:41:26 +0100 |
commit | 93578fb2333bba3d1c2d0fa41de11ba4f92f9aed (patch) | |
tree | 0ded5f8c7eff310f441fe2cf1c939bbe3a86291b /common/startup.c | |
parent | 3ea30d9ce892a66d5161acd8afb24b755e3f2045 (diff) | |
download | barebox-93578fb2333bba3d1c2d0fa41de11ba4f92f9aed.tar.gz barebox-93578fb2333bba3d1c2d0fa41de11ba4f92f9aed.tar.xz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/startup.c b/common/startup.c index 0b5fe46adb..04f8cf06e3 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")); } } |