about summary refs log tree commit diff
path: root/src/linux/setgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/setgroups.c')
-rw-r--r--src/linux/setgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/setgroups.c b/src/linux/setgroups.c
index 4d578013..bdee58d5 100644
--- a/src/linux/setgroups.c
+++ b/src/linux/setgroups.c
@@ -3,5 +3,5 @@
 
 int setgroups(int count, const gid_t list[])
 {
-	return syscall2(__NR_setgroups, count, (long)list);
+	return syscall(SYS_setgroups, count, list);
 }