File bsd-games-2.17-execl.diff of Package bsd-games

--- bsd-games-2.17/backgammon/backgammon/main.c
+++ bsd-games-2.17/backgammon/backgammon/main.c
@@ -153,7 +153,7 @@
 			if (yorn(0)) {
 
 				fixtty(&old);	/* restore tty */
-				execl(TEACH, "teachgammon", args[1]?args:0,
+				execl(TEACH, "teachgammon", args[1]?args:NULL,
 				      (char *) 0);
 
 				tflag = 0;	/* error! */
--- bsd-games-2.17/backgammon/teachgammon/teach.c
+++ bsd-games-2.17/backgammon/teachgammon/teach.c
@@ -152,7 +152,7 @@
 	else
 		writec('\n');
 	fixtty(&old);
-	execl(EXEC, "backgammon", "-n", args[1]?args:0, (char *) 0);
+	execl(EXEC, "backgammon", "-n", args[1]?args:NULL, (char *) 0);
 	writel("Help! Backgammon program is missing\007!!\n");
 	exit(1);
 }