diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-20 13:28:22 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-20 13:28:22 +0000 |
commit | e1a0d486e4804eae098571f1a6788394c2ee51ae (patch) | |
tree | c6f3435738900c8d53832eb919b1b2c3d524f2e5 /miscutils/crond.c | |
parent | dd2982882bb192ea757f32514bc2ea0bc96f5ba0 (diff) | |
download | busybox-w32-e1a0d486e4804eae098571f1a6788394c2ee51ae.tar.gz busybox-w32-e1a0d486e4804eae098571f1a6788394c2ee51ae.tar.bz2 busybox-w32-e1a0d486e4804eae098571f1a6788394c2ee51ae.zip |
message string changes, mostly for consistency, also -32 bytes in .rodata
Diffstat (limited to 'miscutils/crond.c')
-rw-r--r-- | miscutils/crond.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c index eaed1ea69..4fc940b79 100644 --- a/miscutils/crond.c +++ b/miscutils/crond.c | |||
@@ -314,7 +314,7 @@ static void startlogger(void) | |||
314 | if ((logfd = open(LogFile, O_WRONLY | O_CREAT | O_APPEND, 0600)) >= 0) { | 314 | if ((logfd = open(LogFile, O_WRONLY | O_CREAT | O_APPEND, 0600)) >= 0) { |
315 | close(logfd); | 315 | close(logfd); |
316 | } else { | 316 | } else { |
317 | bb_perror_msg("Failed to open log file '%s' reason", LogFile); | 317 | bb_perror_msg("failed to open log file '%s': ", LogFile); |
318 | } | 318 | } |
319 | } | 319 | } |
320 | #endif | 320 | #endif |
@@ -883,7 +883,7 @@ ForkJob(const char *user, CronLine * line, int mailFd, | |||
883 | exit(0); | 883 | exit(0); |
884 | } else if (pid < 0) { | 884 | } else if (pid < 0) { |
885 | /* FORK FAILED */ | 885 | /* FORK FAILED */ |
886 | crondlog("\024couldn't fork, user %s\n", user); | 886 | crondlog("\024cannot fork, user %s\n", user); |
887 | line->cl_Pid = 0; | 887 | line->cl_Pid = 0; |
888 | if (mailf) { | 888 | if (mailf) { |
889 | remove(mailf); | 889 | remove(mailf); |
@@ -1008,7 +1008,7 @@ static void RunJob(const char *user, CronLine * line) | |||
1008 | exit(0); | 1008 | exit(0); |
1009 | } else if (pid < 0) { | 1009 | } else if (pid < 0) { |
1010 | /* FORK FAILED */ | 1010 | /* FORK FAILED */ |
1011 | crondlog("\024couldn't fork, user %s\n", user); | 1011 | crondlog("\024cannot, user %s\n", user); |
1012 | pid = 0; | 1012 | pid = 0; |
1013 | } | 1013 | } |
1014 | line->cl_Pid = pid; | 1014 | line->cl_Pid = pid; |