summaryrefslogtreecommitdiff
path: root/games/arithmetic
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2002-05-31 03:40:02 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2002-05-31 03:40:02 +0000
commit78168af82c4ec7ba2d8e9b500d667ee732db8e04 (patch)
treef01418ef860326642ed58e133f0fcd16b4655c37 /games/arithmetic
parentf539c9183476b44dd9dd78a973f4a09cd6089661 (diff)
No dm -> no need to revoke setegid.
Diffstat (limited to 'games/arithmetic')
-rw-r--r--games/arithmetic/arithmetic.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/arithmetic/arithmetic.c b/games/arithmetic/arithmetic.c
index 61c3c92fc9e..5702cd15188 100644
--- a/games/arithmetic/arithmetic.c
+++ b/games/arithmetic/arithmetic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arithmetic.c,v 1.9 2002/02/16 21:27:08 millert Exp $ */
+/* $OpenBSD: arithmetic.c,v 1.10 2002/05/31 03:40:00 pjanzen Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -46,7 +46,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)arithmetic.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: arithmetic.c,v 1.9 2002/02/16 21:27:08 millert Exp $";
+static char rcsid[] = "$OpenBSD: arithmetic.c,v 1.10 2002/05/31 03:40:00 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -121,10 +121,6 @@ main(argc, argv)
extern int optind;
int ch, cnt;
- /* revoke privs */
- setegid(getgid());
- setgid(getgid());
-
while ((ch = getopt(argc, argv, "hr:o:")) != -1)
switch(ch) {
case 'o': {