summaryrefslogtreecommitdiffstats
path: root/games/primes
diff options
context:
space:
mode:
authorpjanzen <pjanzen@openbsd.org>2002-05-31 03:39:55 +0000
committerpjanzen <pjanzen@openbsd.org>2002-05-31 03:39:55 +0000
commitef2c807a96ab7218ac1cc2688fc8d0b1db07facd (patch)
tree9b68c3317bbcd458ca17190263d048e60abdf9aa /games/primes
parentdo not try to update rmx_mtu if rmx_mtu == 0 (obey ifmtu) (diff)
downloadwireguard-openbsd-ef2c807a96ab7218ac1cc2688fc8d0b1db07facd.tar.xz
wireguard-openbsd-ef2c807a96ab7218ac1cc2688fc8d0b1db07facd.zip
No dm -> no need to revoke setegid.
Diffstat (limited to 'games/primes')
-rw-r--r--games/primes/primes.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/primes/primes.c b/games/primes/primes.c
index 3941088261b..fdd7e1a46ae 100644
--- a/games/primes/primes.c
+++ b/games/primes/primes.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: primes.c,v 1.10 2002/02/16 21:27:11 millert Exp $ */
+/* $OpenBSD: primes.c,v 1.11 2002/05/31 03:40:01 pjanzen Exp $ */
/* $NetBSD: primes.c,v 1.5 1995/04/24 12:24:47 cgd Exp $ */
/*
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)primes.c 8.5 (Berkeley) 5/10/95";
#else
-static char rcsid[] = "$OpenBSD: primes.c,v 1.10 2002/02/16 21:27:11 millert Exp $";
+static char rcsid[] = "$OpenBSD: primes.c,v 1.11 2002/05/31 03:40:01 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -123,10 +123,6 @@ main(argc, argv)
int ch;
char *p;
- /* revoke */
- setegid(getgid());
- setgid(getgid());
-
while ((ch = getopt(argc, argv, "")) != -1)
switch (ch) {
case '?':