summaryrefslogtreecommitdiff
path: root/games/pom
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1997-09-01 00:34:51 +0000
committerEivind Eklund <eivind@FreeBSD.org>1997-09-01 00:34:51 +0000
commit34a13bf4cb36b9ba554bf9593c9b180b91988d8d (patch)
tree2afc8210fc2a0f5e9bb905721c895b27fcab5fec /games/pom
parente3ffd60e0a4993e1ee9f1b08e33547aff372de75 (diff)
downloadsrc-test2-34a13bf4cb36b9ba554bf9593c9b180b91988d8d.tar.gz
src-test2-34a13bf4cb36b9ba554bf9593c9b180b91988d8d.zip
Notes
Diffstat (limited to 'games/pom')
-rw-r--r--games/pom/pom.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/pom/pom.c b/games/pom/pom.c
index afc57cbcc439..156cd31284e5 100644
--- a/games/pom/pom.c
+++ b/games/pom/pom.c
@@ -79,6 +79,10 @@ main()
double days, today, tomorrow;
int cnt;
+ /* revoke */
+ setegid(getgid());
+ setgid(getgid());
+
(void) time(&tt);
GMT = gmtime(&tt);
days = (GMT->tm_yday + 1) + ((GMT->tm_hour +