diff options
Diffstat (limited to 'lib/libc/gen/exec.c')
-rw-r--r-- | lib/libc/gen/exec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gen/exec.c b/lib/libc/gen/exec.c index 4525ce2..985a09a 100644 --- a/lib/libc/gen/exec.c +++ b/lib/libc/gen/exec.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <stdarg.h> #include "un-namespace.h" +#include "libc_private.h" extern char **environ; @@ -140,7 +141,7 @@ execv(name, argv) int execvp(const char *name, char * const *argv) { - return (execvpe(name, argv, environ)); + return (_execvpe(name, argv, environ)); } static int @@ -272,7 +273,7 @@ execvP(const char *name, const char *path, char * const argv[]) } int -execvpe(const char *name, char * const argv[], char * const envp[]) +_execvpe(const char *name, char * const argv[], char * const envp[]) { const char *path; |