summaryrefslogtreecommitdiffstats
path: root/games/phantasia
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2001-07-09 07:02:08 +0000
committerderaadt <deraadt@openbsd.org>2001-07-09 07:02:08 +0000
commitc96f6a27c3654d9b37ce17714ba983b42dfbc904 (patch)
treee0f346e8dbda198bf6f0668e527c29de361f75cd /games/phantasia
parenta first pass at -Wall (diff)
downloadwireguard-openbsd-c96f6a27c3654d9b37ce17714ba983b42dfbc904.tar.xz
wireguard-openbsd-c96f6a27c3654d9b37ce17714ba983b42dfbc904.zip
correct type on last arg to execl(); nordin@cse.ogi.edu
Diffstat (limited to 'games/phantasia')
-rw-r--r--games/phantasia/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/phantasia/misc.c b/games/phantasia/misc.c
index b943effdfb9..d293cd0b14c 100644
--- a/games/phantasia/misc.c
+++ b/games/phantasia/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.7 2001/02/04 02:51:25 pjanzen Exp $ */
+/* $OpenBSD: misc.c,v 1.8 2001/07/09 07:04:29 deraadt Exp $ */
/* $NetBSD: misc.c,v 1.2 1995/03/24 03:59:03 cgd Exp $ */
/*
@@ -932,7 +932,7 @@ death(how)
if (ch == 'Y') {
cleanup(FALSE);
execl(_PATH_GAMEPROG, "phantasia", "-s",
- (Wizard ? "-S" : (char *) NULL), 0);
+ (Wizard ? "-S" : (char *)NULL), (char *)NULL);
exit(0);
/* NOTREACHED */
}