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) |
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) if ((logfd = open(LogFile, O_WRONLY | O_CREAT | O_APPEND, 0600)) >= 0) { close(logfd); } else { - bb_perror_msg("Failed to open log file '%s' reason", LogFile); + bb_perror_msg("failed to open log file '%s': ", LogFile); } } #endif @@ -883,7 +883,7 @@ ForkJob(const char *user, CronLine * line, int mailFd, exit(0); } else if (pid < 0) { /* FORK FAILED */ - crondlog("\024couldn't fork, user %s\n", user); + crondlog("\024cannot fork, user %s\n", user); line->cl_Pid = 0; if (mailf) { remove(mailf); @@ -1008,7 +1008,7 @@ static void RunJob(const char *user, CronLine * line) exit(0); } else if (pid < 0) { /* FORK FAILED */ - crondlog("\024couldn't fork, user %s\n", user); + crondlog("\024cannot, user %s\n", user); pid = 0; } 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) } else /*"Unknown device type:\n\tbits 15&14 of general configuration word 0 both set to 1.\n"*/ - bb_error_msg_and_die("Unknown device type"); + bb_error_msg_and_die("unknown device type"); printf("%sremovable media\n", !(val[GEN_CONFIG] & MEDIA_REMOVABLE) ? "non-" : ""); /* 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) { if (ttyname(STDIN_FILENO) == NULL) inp_stdin = 1; else { - bb_error_msg("Missing filename"); + bb_error_msg("missing filename"); bb_show_usage(); } } 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) /* if mode != S_IFCHR and != S_IFBLK third param in mknod() ignored */ if (mknod(nodname, mode, makedev(Smajor, Sminor))) - bb_error_msg("Failed to create: %s", nodname); + bb_error_msg("failed to create: %s", nodname); if (nodname == basedev) /* ex. /dev/hda - to /dev/hda1 ... */ nodname = buf; |