summaryrefslogtreecommitdiff
path: root/games/larn/scores.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1999-03-27 03:45:51 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1999-03-27 03:45:51 +0000
commitf51cf7f2e10053f45c0ffa2e95347f56d2eecce7 (patch)
tree36f2fd5bc053b41ba6a744a078f5d81e0a22c0dd /games/larn/scores.c
parent5190786085567acf6f269919dffc1b455a46988c (diff)
Changes from FreeBSD: install score files, use random(), and be more careful
on exec.
Diffstat (limited to 'games/larn/scores.c')
-rw-r--r--games/larn/scores.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/larn/scores.c b/games/larn/scores.c
index 655cdb5b7e3..8978a21c51b 100644
--- a/games/larn/scores.c
+++ b/games/larn/scores.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scores.c,v 1.5 1998/09/15 05:12:33 pjanzen Exp $ */
+/* $OpenBSD: scores.c,v 1.6 1999/03/27 03:45:50 pjanzen Exp $ */
/* $NetBSD: scores.c,v 1.10 1997/10/18 20:03:48 christos Exp $ */
/*
@@ -27,7 +27,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: scores.c,v 1.5 1998/09/15 05:12:33 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: scores.c,v 1.6 1999/03/27 03:45:50 pjanzen Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -661,7 +661,7 @@ invalid:
sncbr();
resetscroll();
lflush();
- exit(0);
+ exit(1);
}
setegid(egid);
chmod(logfile, 0660);