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 | 5442276cd021d5fe2943c1c124bf45f6ca8f863e (patch) | |
tree | 087366383376badfe4eb3d5aefe50299e41a9afd /pw/pw.c | |
parent | d3b365d80ac966d7ad94c410b53a478e566d347b (diff) | |
download | pw-darwin-5442276cd021d5fe2943c1c124bf45f6ca8f863e.tar.gz pw-darwin-5442276cd021d5fe2943c1c124bf45f6ca8f863e.tar.zst pw-darwin-5442276cd021d5fe2943c1c124bf45f6ca8f863e.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; |