aboutsummaryrefslogtreecommitdiff
path: root/miscutils/time.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-06-25 01:46:53 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-06-25 01:46:53 +0200
commit41ddd9f60604cd994eeb37eb5708e9d3d5c8484b (patch)
treea2c7b5e6ea0d26715bac8c1f9f4b4e1fbad22534 /miscutils/time.c
parent2b46fd49b14b2ac30e0c767c65ac2b29f6922a45 (diff)
downloadbusybox-w32-41ddd9f60604cd994eeb37eb5708e9d3d5c8484b.tar.gz
busybox-w32-41ddd9f60604cd994eeb37eb5708e9d3d5c8484b.tar.bz2
busybox-w32-41ddd9f60604cd994eeb37eb5708e9d3d5c8484b.zip
*: make exec failure message more consistent
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/time.c')
-rw-r--r--miscutils/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/time.c b/miscutils/time.c
index 6946c863f..f5d1e15fb 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_perror_msg_and_die("can't execute '%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). */