*: 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>
This commit is contained in:
Denys Vlasenko
2010-03-23 16:25:17 +01:00
parent 37a658c4c8
commit 651a2697f7
22 changed files with 29 additions and 29 deletions

View File

@@ -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;

View File

@@ -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);

View File

@@ -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). */