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 /games/rogue | |
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 'games/rogue')
-rw-r--r-- | games/rogue/machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/rogue/machdep.c b/games/rogue/machdep.c index 14316bc58610..055056a261a0 100644 --- a/games/rogue/machdep.c +++ b/games/rogue/machdep.c @@ -547,7 +547,7 @@ const char *shell; if (!fork()) { /* revoke */ setgid(getgid()); - execl(shell, shell, 0); + execl(shell, shell, (char *)0); } wait(w); } |