about summary refs log tree commit diff
path: root/src/unistd/setresuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/setresuid.c')
-rw-r--r--src/unistd/setresuid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unistd/setresuid.c b/src/unistd/setresuid.c
index 376ce406..7fa6bc38 100644
--- a/src/unistd/setresuid.c
+++ b/src/unistd/setresuid.c
@@ -5,6 +5,5 @@
 
 int setresuid(uid_t ruid, uid_t euid, uid_t suid)
 {
-	if (libc.rsyscall) return libc.rsyscall(__NR_setresuid, ruid, euid, suid, 0, 0, 0);
-	return syscall(SYS_setresuid, ruid, euid, suid);
+	return __rsyscall(__NR_setresuid, ruid, euid, suid, 0, 0, 0);
 }