message string changes, mostly for consistency, also -32 bytes in .rodata
This commit is contained in:
@ -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]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user