about summary refs log tree commit diff
path: root/src/unistd/setuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/setuid.c')
-rw-r--r--src/unistd/setuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/setuid.c b/src/unistd/setuid.c
index e778c7f3..602ecbbf 100644
--- a/src/unistd/setuid.c
+++ b/src/unistd/setuid.c
@@ -4,5 +4,5 @@
 
 int setuid(uid_t uid)
 {
-	return __rsyscall(SYS_setuid, uid, 0, 0, 0, 0, 0);
+	return __setxid(SYS_setuid, uid, 0, 0);
 }