aboutsummaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-21 13:46:54 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-21 13:46:54 +0000
commita53de7f7c2cd3ac46b26642aafb1a573a096a80d (patch)
tree76b95b7a441628b3495f744bec5d862b5250f562 /init/init.c
parente1e5174942d4624e3abb8b98fe404afdbb4edad1 (diff)
downloadbusybox-a53de7f7c2cd3ac46b26642aafb1a573a096a80d.tar.gz
- fix spelling
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/init/init.c b/init/init.c
index e88b88262..9923558f4 100644
--- a/init/init.c
+++ b/init/init.c
@@ -276,7 +276,7 @@ static void open_stdio_to_tty(const char* tty_name, int exit_on_failure)
/* fd can be only < 0 or 0: */
fd = device_open(tty_name, O_RDWR);
if (fd) {
- message(L_LOG | L_CONSOLE, "Can't open %s: %s",
+ message(L_LOG | L_CONSOLE, "can't open %s: %s",
tty_name, strerror(errno));
if (exit_on_failure)
_exit(EXIT_FAILURE);
@@ -336,7 +336,7 @@ static void init_exec(const char *command)
ioctl(STDIN_FILENO, TIOCSCTTY, 0 /*only try, don't steal*/);
}
BB_EXECVP(cmd[0] + dash, cmd);
- message(L_LOG | L_CONSOLE, "Cannot run '%s': %s", cmd[0], strerror(errno));
+ message(L_LOG | L_CONSOLE, "cannot run '%s': %s", cmd[0], strerror(errno));
/* returns if execvp fails */
}
@@ -357,7 +357,7 @@ static pid_t run(const struct init_action *a)
sigprocmask(SIG_SETMASK, &omask, NULL);
if (pid < 0)
- message(L_LOG | L_CONSOLE, "Can't fork");
+ message(L_LOG | L_CONSOLE, "can't fork");
if (pid)
return pid;
@@ -391,7 +391,7 @@ static pid_t run(const struct init_action *a)
/* Now fork off another process to just hang around */
pid = fork();
if (pid < 0) {
- message(L_LOG | L_CONSOLE, "Can't fork");
+ message(L_LOG | L_CONSOLE, "can't fork");
_exit(EXIT_FAILURE);
}
@@ -412,7 +412,7 @@ static pid_t run(const struct init_action *a)
/* Use a temporary process to steal the controlling tty. */
pid = fork();
if (pid < 0) {
- message(L_LOG | L_CONSOLE, "Can't fork");
+ message(L_LOG | L_CONSOLE, "can't fork");
_exit(EXIT_FAILURE);
}
if (pid == 0) {
@@ -879,7 +879,7 @@ int init_main(int argc UNUSED_PARAM, char **argv)
BB_EXECVP(argv[0], argv);
} else if (enforce > 0) {
/* SELinux in enforcing mode but load_policy failed */
- message(L_CONSOLE, "Cannot load SELinux Policy. "
+ message(L_CONSOLE, "cannot load SELinux Policy. "
"Machine is in enforcing mode. Halting now.");
exit(EXIT_FAILURE);
}