diff options
Diffstat (limited to 'games/sail/dr_main.c')
-rw-r--r-- | games/sail/dr_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/sail/dr_main.c b/games/sail/dr_main.c index c6e49681a9a9c..7fe24f110f9ac 100644 --- a/games/sail/dr_main.c +++ b/games/sail/dr_main.c @@ -48,7 +48,7 @@ dr_main() (void) signal(SIGQUIT, SIG_IGN); (void) signal(SIGTSTP, SIG_IGN); if (issetuid) - (void) setruid(geteuid()); + (void) setuid(geteuid()); if (game < 0 || game >= NSCENE) { fprintf(stderr, "DRIVER: Bad game number %d\n", game); exit(1); |