summaryrefslogtreecommitdiffstats
path: root/mille
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2001-04-06 11:13:45 +0000
committerwiz <wiz@NetBSD.org>2001-04-06 11:13:45 +0000
commit120435aad09adf6d14bb4cf91b1bb3caf3567aa8 (patch)
treed8d3aa2d1a3d638bc2cdbdb1aef9d327d6996422 /mille
parent773147a0b63f42601976da31aea2bed0f29bef9e (diff)
downloadbsdgames-darwin-120435aad09adf6d14bb4cf91b1bb3caf3567aa8.tar.gz
bsdgames-darwin-120435aad09adf6d14bb4cf91b1bb3caf3567aa8.tar.zst
bsdgames-darwin-120435aad09adf6d14bb4cf91b1bb3caf3567aa8.zip
Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
Diffstat (limited to 'mille')
-rw-r--r--mille/mille.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mille/mille.c b/mille/mille.c
index 1c6869f5..09cb28c2 100644
--- a/mille/mille.c
+++ b/mille/mille.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mille.c,v 1.10 2000/05/08 07:56:04 mycroft Exp $ */
+/* $NetBSD: mille.c,v 1.11 2001/04/06 11:13:52 wiz Exp $ */
/*
* Copyright (c) 1982, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1982, 1993\n\
#if 0
static char sccsid[] = "@(#)mille.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: mille.c,v 1.10 2000/05/08 07:56:04 mycroft Exp $");
+__RCSID("$NetBSD: mille.c,v 1.11 2001/04/06 11:13:52 wiz Exp $");
#endif
#endif /* not lint */
@@ -78,7 +78,7 @@ main(ac, av)
break;
default:
printf("usage: milles [ restore_file ]\n");
- exit(-1);
+ exit(1);
/* NOTREACHED */
}
Play = PLAYER;