diff options
author | Denis Vlasenko | 2007-02-06 01:20:12 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-02-06 01:20:12 +0000 |
commit | 1d76f439da81d3a05f0e0fdde3f81ec56fb20836 (patch) | |
tree | f3e2e2185d092f87843fe4bbc9d1098185a5bdbd /miscutils/time.c | |
parent | cc24419e98853aede7c652edb3c1c79a9865bdda (diff) | |
download | busybox-1d76f439da81d3a05f0e0fdde3f81ec56fb20836.zip busybox-1d76f439da81d3a05f0e0fdde3f81ec56fb20836.tar.gz |
EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>
Diffstat (limited to 'miscutils/time.c')
-rw-r--r-- | miscutils/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/time.c b/miscutils/time.c index 56f1d4a..a459195 100644 --- a/miscutils/time.c +++ b/miscutils/time.c @@ -410,7 +410,7 @@ static void run_command(char *const *cmd, resource_t * resp) else if (pid == 0) { /* If child. */ /* Don't cast execvp arguments; that causes errors on some systems, versus merely warnings if the cast is left off. */ - execvp(cmd[0], cmd); + BB_EXECVP(cmd[0], cmd); bb_error_msg("cannot run %s", cmd[0]); _exit(errno == ENOENT ? 127 : 126); } |