From 1d76f439da81d3a05f0e0fdde3f81ec56fb20836 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 6 Feb 2007 01:20:12 +0000 Subject: EXEC_PREFER_APPLETS support by Gabriel L. Somlo --- 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 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) 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); } -- cgit v1.2.3