about summary refs log tree commit diff
path: root/src/unistd/setresgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/setresgid.c')
-rw-r--r--src/unistd/setresgid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/setresgid.c b/src/unistd/setresgid.c
index 9b9fe50b..b9af540a 100644
--- a/src/unistd/setresgid.c
+++ b/src/unistd/setresgid.c
@@ -5,5 +5,5 @@
 
 int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
 {
-	return __rsyscall(SYS_setresgid, rgid, egid, sgid, 0, 0, 0);
+	return __setxid(SYS_setresgid, rgid, egid, sgid);
 }