*: 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:
@@ -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;
|
||||
|
@@ -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);
|
||||
|
@@ -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). */
|
||||
|
Reference in New Issue
Block a user