diff options
Diffstat (limited to 'games/factor/factor.c')
-rw-r--r-- | games/factor/factor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/games/factor/factor.c b/games/factor/factor.c index c578a747e22..0f56322fbb8 100644 --- a/games/factor/factor.c +++ b/games/factor/factor.c @@ -99,6 +99,8 @@ main(argc, argv) int ch; char *p, buf[100]; /* > max number of digits. */ + setgid(getgid()); + while ((ch = getopt(argc, argv, "")) != EOF) switch (ch) { case '?': |