aboutsummaryrefslogtreecommitdiff
path: root/miscutils/time.c
diff options
context:
space:
mode:
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 56f1d4ab8..a45919502 100644
--- a/miscutils/time.c
+++ b/miscutils/time.c
@@ -410,7 +410,7 @@ static void run_command(char *const *cmd, resource_t * resp)
410 else if (pid == 0) { /* If child. */ 410 else if (pid == 0) { /* If child. */
411 /* Don't cast execvp arguments; that causes errors on some systems, 411 /* Don't cast execvp arguments; that causes errors on some systems,
412 versus merely warnings if the cast is left off. */ 412 versus merely warnings if the cast is left off. */
413 execvp(cmd[0], cmd); 413 BB_EXECVP(cmd[0], cmd);
414 bb_error_msg("cannot run %s", cmd[0]); 414 bb_error_msg("cannot run %s", cmd[0]);
415 _exit(errno == ENOENT ? 127 : 126); 415 _exit(errno == ENOENT ? 127 : 126);
416 } 416 }