diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-23 16:25:17 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-23 16:25:17 +0100 |
commit | 651a2697f725f10c1ebdb8947925b5a9c6cf4fe2 (patch) | |
tree | e2373083cc4bf57af9c114c311ff089b84835f0f /miscutils | |
parent | 37a658c4c86fa5ad9fb6f76cba2fca80f4249036 (diff) | |
download | busybox-w32-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.tar.gz busybox-w32-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.tar.bz2 busybox-w32-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.zip |
*: 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 be080552b..abf505770 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c | |||
@@ -63,7 +63,7 @@ int makedevs_main(int argc, char **argv) | |||
63 | /* if mode != S_IFCHR and != S_IFBLK, | 63 | /* if mode != S_IFCHR and != S_IFBLK, |
64 | * third param in mknod() ignored */ | 64 | * third param in mknod() ignored */ |
65 | if (mknod(nodname, mode, makedev(Smajor, Sminor))) | 65 | if (mknod(nodname, mode, makedev(Smajor, Sminor))) |
66 | bb_perror_msg("can't create %s", nodname); | 66 | bb_perror_msg("can't create '%s'", nodname); |
67 | 67 | ||
68 | /*if (nodname == basedev)*/ /* ex. /dev/hda - to /dev/hda1 ... */ | 68 | /*if (nodname == basedev)*/ /* ex. /dev/hda - to /dev/hda1 ... */ |
69 | nodname = buf; | 69 | nodname = buf; |
diff --git a/miscutils/microcom.c b/miscutils/microcom.c index 0fb51d2e8..78863d49f 100644 --- a/miscutils/microcom.c +++ b/miscutils/microcom.c | |||
@@ -64,7 +64,7 @@ int microcom_main(int argc UNUSED_PARAM, char **argv) | |||
64 | if (sfd < 0) { | 64 | if (sfd < 0) { |
65 | // device already locked -> bail out | 65 | // device already locked -> bail out |
66 | if (errno == EEXIST) | 66 | if (errno == EEXIST) |
67 | bb_perror_msg_and_die("can't create %s", device_lock_file); | 67 | bb_perror_msg_and_die("can't create '%s'", device_lock_file); |
68 | // can't create lock -> don't care | 68 | // can't create lock -> don't care |
69 | if (ENABLE_FEATURE_CLEAN_UP) | 69 | if (ENABLE_FEATURE_CLEAN_UP) |
70 | free(device_lock_file); | 70 | free(device_lock_file); |
diff --git a/miscutils/time.c b/miscutils/time.c index 5ea0f064b..6946c863f 100644 --- a/miscutils/time.c +++ b/miscutils/time.c | |||
@@ -380,7 +380,7 @@ static void run_command(char *const *cmd, resource_t *resp) | |||
380 | versus merely warnings if the cast is left off. */ | 380 | versus merely warnings if the cast is left off. */ |
381 | BB_EXECVP(cmd[0], cmd); | 381 | BB_EXECVP(cmd[0], cmd); |
382 | xfunc_error_retval = (errno == ENOENT ? 127 : 126); | 382 | xfunc_error_retval = (errno == ENOENT ? 127 : 126); |
383 | bb_error_msg_and_die("can't run %s", cmd[0]); | 383 | bb_error_msg_and_die("can't run '%s'", cmd[0]); |
384 | } | 384 | } |
385 | 385 | ||
386 | /* Have signals kill the child but not self (if possible). */ | 386 | /* Have signals kill the child but not self (if possible). */ |