summaryrefslogtreecommitdiff
path: root/lib/libc/gen/wordexp.c
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2004-04-09 11:32:32 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2004-04-09 11:32:32 +0000
commit7937c23d49f8b70f2a5fb6dd9be788f2d436c341 (patch)
treeff47fa59956f853aced5a72f94e05241de91b7bd /lib/libc/gen/wordexp.c
parent149a123b349b2fc13de147b534cdfbdd3897d84c (diff)
Notes
Diffstat (limited to 'lib/libc/gen/wordexp.c')
-rw-r--r--lib/libc/gen/wordexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/wordexp.c b/lib/libc/gen/wordexp.c
index 9bdb1219963ed..46ccb2f7a1b55 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);
}