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 | |
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')
-rw-r--r-- | miscutils/crond.c | 6 | ||||
-rw-r--r-- | miscutils/hdparm.c | 2 | ||||
-rw-r--r-- | miscutils/less.c | 2 | ||||
-rw-r--r-- | miscutils/makedevs.c | 2 |
4 files changed, 6 insertions, 6 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; |
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index 1c9a99e13..a30f4e0d7 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c | |||
@@ -595,7 +595,7 @@ static void identify(uint16_t *id_supplied) | |||
595 | } | 595 | } |
596 | else | 596 | else |
597 | /*"Unknown device type:\n\tbits 15&14 of general configuration word 0 both set to 1.\n"*/ | 597 | /*"Unknown device type:\n\tbits 15&14 of general configuration word 0 both set to 1.\n"*/ |
598 | bb_error_msg_and_die("Unknown device type"); | 598 | bb_error_msg_and_die("unknown device type"); |
599 | 599 | ||
600 | printf("%sremovable media\n", !(val[GEN_CONFIG] & MEDIA_REMOVABLE) ? "non-" : ""); | 600 | printf("%sremovable media\n", !(val[GEN_CONFIG] & MEDIA_REMOVABLE) ? "non-" : ""); |
601 | /* Info from the specific configuration word says whether or not the | 601 | /* Info from the specific configuration word says whether or not the |
diff --git a/miscutils/less.c b/miscutils/less.c index 63389dcd7..11f1d8baa 100644 --- a/miscutils/less.c +++ b/miscutils/less.c | |||
@@ -1113,7 +1113,7 @@ int less_main(int argc, char **argv) { | |||
1113 | if (ttyname(STDIN_FILENO) == NULL) | 1113 | if (ttyname(STDIN_FILENO) == NULL) |
1114 | inp_stdin = 1; | 1114 | inp_stdin = 1; |
1115 | else { | 1115 | else { |
1116 | bb_error_msg("Missing filename"); | 1116 | bb_error_msg("missing filename"); |
1117 | bb_show_usage(); | 1117 | bb_show_usage(); |
1118 | } | 1118 | } |
1119 | } | 1119 | } |
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index 6ff5cc223..3bc1559c7 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c | |||
@@ -53,7 +53,7 @@ int makedevs_main(int argc, char **argv) | |||
53 | /* if mode != S_IFCHR and != S_IFBLK third param in mknod() ignored */ | 53 | /* if mode != S_IFCHR and != S_IFBLK third param in mknod() ignored */ |
54 | 54 | ||
55 | if (mknod(nodname, mode, makedev(Smajor, Sminor))) | 55 | if (mknod(nodname, mode, makedev(Smajor, Sminor))) |
56 | bb_error_msg("Failed to create: %s", nodname); | 56 | bb_error_msg("failed to create: %s", nodname); |
57 | 57 | ||
58 | if (nodname == basedev) /* ex. /dev/hda - to /dev/hda1 ... */ | 58 | if (nodname == basedev) /* ex. /dev/hda - to /dev/hda1 ... */ |
59 | nodname = buf; | 59 | nodname = buf; |