From 41ddd9f60604cd994eeb37eb5708e9d3d5c8484b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 25 Jun 2010 01:46:53 +0200 Subject: *: make exec failure message more consistent Signed-off-by: Denys Vlasenko --- miscutils/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miscutils/time.c') 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) 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_perror_msg_and_die("can't execute '%s'", cmd[0]); } /* Have signals kill the child but not self (if possible). */ -- cgit v1.2.3