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