diff options
Diffstat (limited to 'games/backgammon/teachgammon/teach.c')
-rw-r--r-- | games/backgammon/teachgammon/teach.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/backgammon/teachgammon/teach.c b/games/backgammon/teachgammon/teach.c index c0158d4c3ed..758e3921a8b 100644 --- a/games/backgammon/teachgammon/teach.c +++ b/games/backgammon/teachgammon/teach.c @@ -1,4 +1,4 @@ -/* $OpenBSD: teach.c,v 1.9 2001/06/23 23:50:05 pjanzen Exp $ */ +/* $OpenBSD: teach.c,v 1.10 2001/07/09 07:04:28 deraadt Exp $ */ /* * Copyright (c) 1980, 1993 @@ -43,7 +43,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)teach.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: teach.c,v 1.9 2001/06/23 23:50:05 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: teach.c,v 1.10 2001/07/09 07:04:28 deraadt Exp $"; #endif #endif /* not lint */ @@ -139,6 +139,6 @@ leave() { clear(); endwin(); - execl(EXEC, "backgammon", "-n", args, 0); + execl(EXEC, "backgammon", "-n", args, (char *)NULL); errx(1, "help! Backgammon program is missing!!"); } |