diff options
Diffstat (limited to 'games/mille/mille.c')
-rw-r--r-- | games/mille/mille.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/games/mille/mille.c b/games/mille/mille.c index 66ccd3a95bf..c5632a2ffa9 100644 --- a/games/mille/mille.c +++ b/games/mille/mille.c @@ -65,8 +65,7 @@ register char *av[]; { register bool restore; - /* run as the user */ - setuid(getuid()); + setgid(getgid()); /* run as the user */ if (strcmp(av[0], "a.out") == 0) { outf = fopen("q", "w"); |