summaryrefslogtreecommitdiff
path: root/games/rogue
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-09 07:05:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-09 07:05:10 +0000
commite794dc8249450a31cf35cb2aa88a33779325b689 (patch)
tree7fe943aa48c43bd24ed6b9267ab44c0191c44d4a /games/rogue
parent5b1ba3114a10793470c731e714160f24131b690d (diff)
correct type on last arg to execl(); nordin@cse.ogi.edu
Diffstat (limited to 'games/rogue')
-rw-r--r--games/rogue/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/rogue/machdep.c b/games/rogue/machdep.c
index 0923f7b8516..6d7a0939665 100644
--- a/games/rogue/machdep.c
+++ b/games/rogue/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.5 1999/08/17 09:13:12 millert Exp $ */
+/* $OpenBSD: machdep.c,v 1.6 2001/07/09 07:04:30 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.5 1995/04/28 23:49:22 mycroft Exp $ */
/*
@@ -506,7 +506,7 @@ md_shell(shell)
* uid = getuid();
* setuid(uid);
*/
- execl(shell, shell, 0);
+ execl(shell, shell, (char *)NULL);
}
wait(&w);
}