X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fgetgroups.c;h=0e6e63af0129d7c9a6cc8ddb8d86a5e534a315b7;hb=ae4b0b96d63fe3cbd70008350f998570c9e91f7f;hp=6f19870e6f9160999f7365a022a820163ae9c1f9;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/unistd/getgroups.c b/src/unistd/getgroups.c index 6f19870e..0e6e63af 100644 --- a/src/unistd/getgroups.c +++ b/src/unistd/getgroups.c @@ -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); }