add linux-specific unshare syscall wrapper
[oweals/musl.git] / src / unistd / getgroups.c
index 6f19870e6f9160999f7365a022a820163ae9c1f9..0e6e63af0129d7c9a6cc8ddb8d86a5e534a315b7 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);
 }