diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2002-05-31 03:40:02 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2002-05-31 03:40:02 +0000 |
commit | 78168af82c4ec7ba2d8e9b500d667ee732db8e04 (patch) | |
tree | f01418ef860326642ed58e133f0fcd16b4655c37 /games/pig | |
parent | f539c9183476b44dd9dd78a973f4a09cd6089661 (diff) |
No dm -> no need to revoke setegid.
Diffstat (limited to 'games/pig')
-rw-r--r-- | games/pig/pig.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/games/pig/pig.c b/games/pig/pig.c index 3f636d697f5..95792005504 100644 --- a/games/pig/pig.c +++ b/games/pig/pig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pig.c,v 1.7 2002/02/16 21:27:11 millert Exp $ */ +/* $OpenBSD: pig.c,v 1.8 2002/05/31 03:40:01 pjanzen Exp $ */ /* $NetBSD: pig.c,v 1.2 1995/03/23 08:41:40 cgd Exp $ */ /*- @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)pig.c 8.2 (Berkeley) 5/4/95"; #else -static char rcsid[] = "$OpenBSD: pig.c,v 1.7 2002/02/16 21:27:11 millert Exp $"; +static char rcsid[] = "$OpenBSD: pig.c,v 1.8 2002/05/31 03:40:01 pjanzen Exp $"; #endif #endif /* not lint */ @@ -69,10 +69,6 @@ main(argc, argv) int ch; char buf[1024]; - /* revoke */ - setegid(getgid()); - setgid(getgid()); - while ((ch = getopt(argc, argv, "")) != -1) switch(ch) { case '?': |