summaryrefslogtreecommitdiff
path: root/util-linux/switch_root.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/switch_root.c')
-rw-r--r--util-linux/switch_root.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c
index f2d9b6e..45290c9 100644
--- a/util-linux/switch_root.c
+++ b/util-linux/switch_root.c
@@ -111,12 +111,12 @@ int switch_root_main(int argc, char *argv[])
if (console) {
close(0);
if(open(console, O_RDWR) < 0)
- bb_error_msg_and_die("Bad console '%s'",console);
+ bb_error_msg_and_die("bad console '%s'",console);
dup2(0, 1);
dup2(0, 2);
}
// Exec real init. (This is why we must be pid 1.)
execv(argv[optind],argv+optind);
- bb_error_msg_and_die("Bad init '%s'",argv[optind]);
+ bb_error_msg_and_die("bad init '%s'",argv[optind]);
}