summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2002-03-12 03:27:47 +0000
committerBrad Smith <brad@cvs.openbsd.org>2002-03-12 03:27:47 +0000
commit959003b6c0d25342c95f1bf624b9c9c491959c3c (patch)
tree6b61d44b0392f34d9e44d31aee3afef1939f7204
parent042d97d1948fb06318e2639c74105dc2870709af (diff)
correct type on last arg to execl()
-- Lost with upgrade to mod_ssl 2.8.7
-rw-r--r--usr.sbin/httpd/src/modules/ssl/ssl_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/modules/ssl/ssl_util.c b/usr.sbin/httpd/src/modules/ssl/ssl_util.c
index 798303f253a..0c3b04a0358 100644
--- a/usr.sbin/httpd/src/modules/ssl/ssl_util.c
+++ b/usr.sbin/httpd/src/modules/ssl/ssl_util.c
@@ -258,7 +258,7 @@ int ssl_util_ppopen_child(void *cmd, child_info *pinfo)
spawnl(P_NOWAIT, SHELL_PATH, SHELL_PATH, "/c", (char *)cmd, NULL);
#else
/* Standard Unix */
- execl(SHELL_PATH, SHELL_PATH, "-c", (char *)cmd, NULL);
+ execl(SHELL_PATH, SHELL_PATH, "-c", (char *)cmd, (char *)NULL);
#endif
return (child_pid);
}