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