diff options
author | brian <brian@FreeBSD.org> | 2001-07-09 09:24:06 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-07-09 09:24:06 +0000 |
commit | 8636b161b333b18525b6f5ffc5139079c29c0d63 (patch) | |
tree | a109115514a8774e981280efca775db8a410df5b /usr.bin/ee | |
parent | ef44874abb9460f2956eba8e3233154af304f5b1 (diff) | |
download | FreeBSD-src-8636b161b333b18525b6f5ffc5139079c29c0d63.zip FreeBSD-src-8636b161b333b18525b6f5ffc5139079c29c0d63.tar.gz |
Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
Diffstat (limited to 'usr.bin/ee')
-rw-r--r-- | usr.bin/ee/ee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ee/ee.c b/usr.bin/ee/ee.c index 3c624a2..475e9e8 100644 --- a/usr.bin/ee/ee.c +++ b/usr.bin/ee/ee.c @@ -3148,7 +3148,7 @@ char *string; /* string containing user command */ } for (value = 1; value < 24; value++) signal(value, SIG_DFL); - execl(path, last_slash, "-c", string, NULL); + execl(path, last_slash, "-c", string, (char *)NULL); errx(1, exec_err_msg, path); } else /* if the parent */ |