diff options
author | Brian Somers <brian@FreeBSD.org> | 2001-07-09 09:24:06 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2001-07-09 09:24:06 +0000 |
commit | 5285e9a469a97baf1942e9f82c3701062791be26 (patch) | |
tree | a5ee64869d5249b224e4a941239b17e5ec4e6f72 /pw/pw.c | |
parent | fb83544b743f039f2358452e7bd9d9fbaa35ad97 (diff) | |
download | pw-darwin-5285e9a469a97baf1942e9f82c3701062791be26.tar.gz pw-darwin-5285e9a469a97baf1942e9f82c3701062791be26.tar.zst pw-darwin-5285e9a469a97baf1942e9f82c3701062791be26.zip |
Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
Diffstat (limited to 'pw/pw.c')
-rw-r--r-- | pw/pw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -248,7 +248,7 @@ main(int argc, char *argv[]) warn("fork()"); else if (pid == 0) { /* Is make anywhere else? */ - execlp("/usr/bin/make", "make", NULL); + execlp("/usr/bin/make", "make", (char *)NULL); _exit(1); } else { int i; |