diff options
author | deraadt <deraadt@openbsd.org> | 2001-07-09 07:02:08 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2001-07-09 07:02:08 +0000 |
commit | c96f6a27c3654d9b37ce17714ba983b42dfbc904 (patch) | |
tree | e0f346e8dbda198bf6f0668e527c29de361f75cd /games/phantasia | |
parent | a first pass at -Wall (diff) | |
download | wireguard-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.c | 4 |
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 */ } |