summaryrefslogtreecommitdiffstats
path: root/atc
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>2000-05-08 07:55:59 +0000
committermycroft <mycroft@NetBSD.org>2000-05-08 07:55:59 +0000
commit88eff08098072c4b923af3a7180b14d6dfcf66ef (patch)
tree40d5c0f66d3048d7bda2b215bec0d405f8bdf5aa /atc
parentf2aaefda6c88e48aabc5544f251334e4256e7823 (diff)
downloadbsdgames-darwin-88eff08098072c4b923af3a7180b14d6dfcf66ef.tar.gz
bsdgames-darwin-88eff08098072c4b923af3a7180b14d6dfcf66ef.tar.zst
bsdgames-darwin-88eff08098072c4b923af3a7180b14d6dfcf66ef.zip
Use setgid(), not setregid().
Diffstat (limited to 'atc')
-rw-r--r--atc/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/atc/main.c b/atc/main.c
index b8e0f746..da545c69 100644
--- a/atc/main.c
+++ b/atc/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.10 1999/07/24 15:50:44 mjl Exp $ */
+/* $NetBSD: main.c,v 1.11 2000/05/08 07:56:01 mycroft Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -55,7 +55,7 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 1993\n\
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: main.c,v 1.10 1999/07/24 15:50:44 mjl Exp $");
+__RCSID("$NetBSD: main.c,v 1.11 2000/05/08 07:56:01 mycroft Exp $");
#endif
#endif /* not lint */
@@ -80,7 +80,7 @@ main(ac, av)
/* Open the score file then revoke setgid privileges */
open_score_file();
- setregid(getgid(), getgid());
+ setgid(getgid());
start_time = seed = time(NULL);