summaryrefslogtreecommitdiff
path: root/games/backgammon/teachgammon
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/backgammon/teachgammon
parent5b1ba3114a10793470c731e714160f24131b690d (diff)
correct type on last arg to execl(); nordin@cse.ogi.edu
Diffstat (limited to 'games/backgammon/teachgammon')
-rw-r--r--games/backgammon/teachgammon/teach.c6
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!!");
}