summaryrefslogtreecommitdiff
path: root/libc/unistd/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/exec.c')
-rw-r--r--libc/unistd/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/unistd/exec.c b/libc/unistd/exec.c
index 7bf58289b..b09bdfef4 100644
--- a/libc/unistd/exec.c
+++ b/libc/unistd/exec.c
@@ -250,7 +250,7 @@ int execvp(const char *path, char *const argv[])
EXEC_FREE(nargv, size2);
}
} else {
- if ((p = getenv("PATH")) != NULL) {
+ if ((p = __getenv("PATH")) != NULL) {
if (!*p) {
goto BAD;
}