summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-03-08 21:18:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-03-08 21:18:36 +0000
commitcc0807a8788496cf1bd813b1e841b684f516e44d (patch)
treebcdceb980071074af88cf58ddf8553b8088e9eae
parent1181140705fac68c1b1f9eed1a9399d7206a7e1f (diff)
whack exit(-#)
-rw-r--r--games/backgammon/teachgammon/teach.c6
-rw-r--r--games/mille/mille.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/games/backgammon/teachgammon/teach.c b/games/backgammon/teachgammon/teach.c
index dd6341443fa..be026a0a1ed 100644
--- a/games/backgammon/teachgammon/teach.c
+++ b/games/backgammon/teachgammon/teach.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: teach.c,v 1.7 2001/02/18 03:32:52 pjanzen Exp $ */
+/* $OpenBSD: teach.c,v 1.8 2001/03/08 21:18:32 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.7 2001/02/18 03:32:52 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: teach.c,v 1.8 2001/03/08 21:18:32 deraadt Exp $";
#endif
#endif /* not lint */
@@ -156,5 +156,5 @@ leave()
fixtty(&old);
execl(EXEC, "backgammon", "-n", args, 0);
writel("Help! Backgammon program is missing\007!!\n");
- exit(-1);
+ exit(1);
}
diff --git a/games/mille/mille.c b/games/mille/mille.c
index 33ebe089218..5c6a2cc36e2 100644
--- a/games/mille/mille.c
+++ b/games/mille/mille.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mille.c,v 1.8 2000/04/07 05:03:15 pjanzen Exp $ */
+/* $OpenBSD: mille.c,v 1.9 2001/03/08 21:18:35 deraadt Exp $ */
/* $NetBSD: mille.c,v 1.4 1995/03/24 05:01:48 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)mille.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: mille.c,v 1.8 2000/04/07 05:03:15 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: mille.c,v 1.9 2001/03/08 21:18:35 deraadt Exp $";
#endif
#endif /* not lint */
@@ -80,7 +80,7 @@ main(ac, av)
break;
default:
printf("usage: milles [ restore_file ]\n");
- exit(-1);
+ exit(1);
/* NOTREACHED */
}
Play = PLAYER;