diff options
Diffstat (limited to 'src/unistd/setreuid.c')
-rw-r--r-- | src/unistd/setreuid.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unistd/setreuid.c b/src/unistd/setreuid.c index 505e8bc1..d926454a 100644 --- a/src/unistd/setreuid.c +++ b/src/unistd/setreuid.c @@ -4,6 +4,5 @@ int setreuid(uid_t ruid, uid_t euid) { - if (libc.rsyscall) return libc.rsyscall(__NR_setreuid, ruid, euid, 0, 0, 0, 0); - return syscall(SYS_setreuid, ruid, euid); + return __rsyscall(__NR_setreuid, ruid, euid, 0, 0, 0, 0); } |