diff options
Diffstat (limited to 'lib/libc/gen/wordexp.c')
-rw-r--r-- | lib/libc/gen/wordexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/wordexp.c b/lib/libc/gen/wordexp.c index 9bdb121..46ccb2f 100644 --- a/lib/libc/gen/wordexp.c +++ b/lib/libc/gen/wordexp.c @@ -128,7 +128,7 @@ we_askshell(const char *words, wordexp_t *we, int flags) _close(devnull); } execl(_PATH_BSHELL, "sh", flags & WRDE_UNDEF ? "-u" : "+u", - "-c", cmd, NULL); + "-c", cmd, (char *)NULL); _exit(1); } |