fix execl to have right arg list
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 3 Feb 1988 01:33:01 +0000 (17:33 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 3 Feb 1988 01:33:01 +0000 (17:33 -0800)
SCCS-vsn: games/backgammon/backgammon/main.c 5.3

usr/src/games/backgammon/backgammon/main.c

index 93a3d9f..b635af2 100644 (file)
@@ -11,7 +11,7 @@ char copyright[] =
 #endif not lint
 
 #ifndef lint
 #endif not lint
 
 #ifndef lint
-static char sccsid[] = "@(#)main.c     5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c     5.3 (Berkeley) %G%";
 #endif not lint
 
 #include <stdio.h>
 #endif not lint
 
 #include <stdio.h>
@@ -147,7 +147,7 @@ char        **argv;
                        if (yorn(0))  {
 
                                fixtty (old);           /* restore tty */
                        if (yorn(0))  {
 
                                fixtty (old);           /* restore tty */
-                               execl (TEACH,"backgammon",args,0);
+                               execl (TEACH,"teachgammon",args,0);
 
                                tflag = 0;              /* error! */
                                writel (noteach);
 
                                tflag = 0;              /* error! */
                                writel (noteach);