message string changes, mostly for consistency, also -32 bytes in .rodata
diff --git a/miscutils/crond.c b/miscutils/crond.c
index eaed1ea..4fc940b 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -314,7 +314,7 @@
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 @@
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 @@
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 1c9a99e..a30f4e0 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -595,7 +595,7 @@
}
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 63389dc..11f1d8b 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -1113,7 +1113,7 @@
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 6ff5cc2..3bc1559 100644
--- a/miscutils/makedevs.c
+++ b/miscutils/makedevs.c
@@ -53,7 +53,7 @@
/* 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;