From 5442276cd021d5fe2943c1c124bf45f6ca8f863e Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Mon, 9 Jul 2001 09:24:06 +0000 Subject: Fix the type of the NULL arg to execl() Idea from: Theo de Raadt --- pw/pw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pw') diff --git a/pw/pw.c b/pw/pw.c index b59b9f9..01ba43a 100644 --- a/pw/pw.c +++ b/pw/pw.c @@ -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; -- cgit v1.2.3-56-ge451