diff options
Diffstat (limited to 'src/unistd/setgid.c')
-rw-r--r-- | src/unistd/setgid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/setgid.c b/src/unistd/setgid.c index 42976d95..e98a2982 100644 --- a/src/unistd/setgid.c +++ b/src/unistd/setgid.c @@ -5,5 +5,5 @@ int setgid(gid_t gid) { if (libc.rsyscall) return libc.rsyscall(__NR_setgid, gid, 0, 0, 0, 0, 0); - return syscall1(__NR_setgid, gid); + return syscall(SYS_setgid, gid); } |