-/* $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
#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 */
/* 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]