summaryrefslogtreecommitdiffstats
path: root/battlestar/battlestar.c
diff options
context:
space:
mode:
Diffstat (limited to 'battlestar/battlestar.c')
-rw-r--r--battlestar/battlestar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/battlestar/battlestar.c b/battlestar/battlestar.c
index 6d05adeb..e3c0d4cc 100644
--- a/battlestar/battlestar.c
+++ b/battlestar/battlestar.c
@@ -1,4 +1,4 @@
-/* $NetBSD: battlestar.c,v 1.9 1999/09/18 16:40:04 jsm Exp $ */
+/* $NetBSD: battlestar.c,v 1.10 2000/05/08 07:56:01 mycroft Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
#if 0
static char sccsid[] = "@(#)battlestar.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: battlestar.c,v 1.9 1999/09/18 16:40:04 jsm Exp $");
+__RCSID("$NetBSD: battlestar.c,v 1.10 2000/05/08 07:56:01 mycroft Exp $");
#endif
#endif /* not lint */
@@ -68,7 +68,7 @@ main(argc, argv)
/* Open the score file then revoke setgid privileges */
open_score_file();
- setregid(getgid(), getgid());
+ setgid(getgid());
initialize((argc < 2) ? NULL : (strcmp(argv[1], "-r") ? argv[1]
: (argv[2] ? argv[2]