diff options
author | Denys Vlasenko | 2010-03-23 16:25:17 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-03-23 16:25:17 +0100 |
commit | 651a2697f725f10c1ebdb8947925b5a9c6cf4fe2 (patch) | |
tree | e2373083cc4bf57af9c114c311ff089b84835f0f /miscutils | |
parent | 37a658c4c86fa5ad9fb6f76cba2fca80f4249036 (diff) | |
download | busybox-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.zip busybox-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.tar.gz |
*: merge some common strings
text data bss dec hexfilename
838650 8009 0 846659 ceb43busybox_old
838519 8009 0 846528 ceac0busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/makedevs.c | 2 | ||||
-rw-r--r-- | miscutils/microcom.c | 2 | ||||
-rw-r--r-- | miscutils/time.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index be08055..abf5057 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c @@ -63,7 +63,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_perror_msg("can't create %s", nodname); + bb_perror_msg("can't create '%s'", nodname); /*if (nodname == basedev)*/ /* ex. /dev/hda - to /dev/hda1 ... */ nodname = buf; diff --git a/miscutils/microcom.c b/miscutils/microcom.c index 0fb51d2..78863d4 100644 --- a/miscutils/microcom.c +++ b/miscutils/microcom.c @@ -64,7 +64,7 @@ int microcom_main(int argc UNUSED_PARAM, char **argv) if (sfd < 0) { // device already locked -> bail out if (errno == EEXIST) - bb_perror_msg_and_die("can't create %s", device_lock_file); + bb_perror_msg_and_die("can't create '%s'", device_lock_file); // can't create lock -> don't care if (ENABLE_FEATURE_CLEAN_UP) free(device_lock_file); diff --git a/miscutils/time.c b/miscutils/time.c index 5ea0f06..6946c86 100644 --- a/miscutils/time.c +++ b/miscutils/time.c @@ -380,7 +380,7 @@ static void run_command(char *const *cmd, resource_t *resp) versus merely warnings if the cast is left off. */ BB_EXECVP(cmd[0], cmd); xfunc_error_retval = (errno == ENOENT ? 127 : 126); - bb_error_msg_and_die("can't run %s", cmd[0]); + bb_error_msg_and_die("can't run '%s'", cmd[0]); } /* Have signals kill the child but not self (if possible). */ |