streamline old-kernel fallback path of pipe2 to use syscalls directly
[musl] / src / unistd / getgroups.c
index 6f19870..0e6e63a 100644 (file)
@@ -3,6 +3,5 @@
 
 int getgroups(int count, gid_t list[])
 {
-       /* this depends on our gid_t being 32bit */
-       return syscall2(__NR_getgroups32, count, (long)list);
+       return syscall(SYS_getgroups, count, list);
 }