From 8636b161b333b18525b6f5ffc5139079c29c0d63 Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 9 Jul 2001 09:24:06 +0000 Subject: Fix the type of the NULL arg to execl() Idea from: Theo de Raadt --- release/picobsd/tinyware/simple_httpd/simple_httpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release') diff --git a/release/picobsd/tinyware/simple_httpd/simple_httpd.c b/release/picobsd/tinyware/simple_httpd/simple_httpd.c index 71ee339..8c8a20c 100644 --- a/release/picobsd/tinyware/simple_httpd/simple_httpd.c +++ b/release/picobsd/tinyware/simple_httpd/simple_httpd.c @@ -258,7 +258,7 @@ http_request() /* Plug in environment variable, others in log_line */ putenv("SERVER_SOFTWARE=FreeBSD/PicoBSD"); - execlp (filename,filename,par,0); + execlp (filename,filename,par,(char *)0); } wait(&i); return(0); -- cgit v1.1