diff options
Diffstat (limited to 'init/init.c')
-rw-r--r-- | init/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c index 6bee8f35c..5240e47a5 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -305,7 +305,7 @@ static void init_exec(const char *command) | |||
305 | ioctl(STDIN_FILENO, TIOCSCTTY, 0 /*only try, don't steal*/); | 305 | ioctl(STDIN_FILENO, TIOCSCTTY, 0 /*only try, don't steal*/); |
306 | } | 306 | } |
307 | BB_EXECVP(cmd[0] + dash, cmd); | 307 | BB_EXECVP(cmd[0] + dash, cmd); |
308 | message(L_LOG | L_CONSOLE, "cannot run '%s': %s", cmd[0], strerror(errno)); | 308 | message(L_LOG | L_CONSOLE, "can't run '%s': %s", cmd[0], strerror(errno)); |
309 | /* returns if execvp fails */ | 309 | /* returns if execvp fails */ |
310 | } | 310 | } |
311 | 311 | ||
@@ -899,7 +899,7 @@ int init_main(int argc UNUSED_PARAM, char **argv) | |||
899 | BB_EXECVP(argv[0], argv); | 899 | BB_EXECVP(argv[0], argv); |
900 | } else if (enforce > 0) { | 900 | } else if (enforce > 0) { |
901 | /* SELinux in enforcing mode but load_policy failed */ | 901 | /* SELinux in enforcing mode but load_policy failed */ |
902 | message(L_CONSOLE, "cannot load SELinux Policy. " | 902 | message(L_CONSOLE, "can't load SELinux Policy. " |
903 | "Machine is in enforcing mode. Halting now."); | 903 | "Machine is in enforcing mode. Halting now."); |
904 | exit(EXIT_FAILURE); | 904 | exit(EXIT_FAILURE); |
905 | } | 905 | } |