diff options
Diffstat (limited to 'src/unistd/setuid.c')
-rw-r--r-- | src/unistd/setuid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/setuid.c b/src/unistd/setuid.c index 9e9da61f..61e8be55 100644 --- a/src/unistd/setuid.c +++ b/src/unistd/setuid.c @@ -5,5 +5,5 @@ int setuid(uid_t uid) { if (libc.rsyscall) return libc.rsyscall(__NR_setuid, uid, 0, 0, 0, 0, 0); - return syscall1(__NR_setuid, uid); + return syscall(SYS_setuid, uid); } |