about summary refs log tree commit diff
path: root/src/unistd/getgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/getgroups.c')
-rw-r--r--src/unistd/getgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/getgroups.c b/src/unistd/getgroups.c
index 37619b9a..0e6e63af 100644
--- a/src/unistd/getgroups.c
+++ b/src/unistd/getgroups.c
@@ -3,5 +3,5 @@
 
 int getgroups(int count, gid_t list[])
 {
-	return syscall2(__NR_getgroups, count, (long)list);
+	return syscall(SYS_getgroups, count, list);
 }