about summary refs log tree commit diff
path: root/src/unistd/setgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/setgid.c')
-rw-r--r--src/unistd/setgid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/setgid.c b/src/unistd/setgid.c
index 87b2717e..bae4616a 100644
--- a/src/unistd/setgid.c
+++ b/src/unistd/setgid.c
@@ -4,5 +4,5 @@
 
 int setgid(gid_t gid)
 {
-	return __rsyscall(SYS_setgid, gid, 0, 0, 0, 0, 0);
+	return __setxid(SYS_setgid, gid, 0, 0);
 }