diff options
Diffstat (limited to 'lib/libc/gen/exec.c')
-rw-r--r-- | lib/libc/gen/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/exec.c b/lib/libc/gen/exec.c index b83136e..4998ee8 100644 --- a/lib/libc/gen/exec.c +++ b/lib/libc/gen/exec.c @@ -159,7 +159,7 @@ execvPe(const char *name, const char *path, char * const *argv, eacces = 0; /* If it's an absolute or relative path name, it's easy. */ - if (index(name, '/')) { + if (strchr(name, '/')) { bp = name; cur = NULL; goto retry; |