summaryrefslogtreecommitdiff
path: root/src/unistd/setreuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/setreuid.c')
-rw-r--r--src/unistd/setreuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/setreuid.c b/src/unistd/setreuid.c
index 93d68c03..3fcc59e2 100644
--- a/src/unistd/setreuid.c
+++ b/src/unistd/setreuid.c
@@ -4,5 +4,5 @@
int setreuid(uid_t ruid, uid_t euid)
{
- return __rsyscall(SYS_setreuid, ruid, euid, 0, 0, 0, 0);
+ return __setxid(SYS_setreuid, ruid, euid, 0);
}