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 | 7bc6d0158f0e9863a2a13a951321185d214cd3be (patch) | |
tree | a109115514a8774e981280efca775db8a410df5b /release | |
parent | b5b15b9e7fbe55119213a41835516dc91b25e978 (diff) | |
download | src-7bc6d0158f0e9863a2a13a951321185d214cd3be.tar.gz src-7bc6d0158f0e9863a2a13a951321185d214cd3be.zip |
Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
Notes
Notes:
svn path=/head/; revision=79452
Diffstat (limited to 'release')
-rw-r--r-- | release/picobsd/tinyware/simple_httpd/simple_httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/picobsd/tinyware/simple_httpd/simple_httpd.c b/release/picobsd/tinyware/simple_httpd/simple_httpd.c index 71ee3396e9a5..8c8a20c7b21d 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); |