X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fsetresgid.c;h=9b9fe50bc02b3a1febe195812c76ea843fa9a82b;hb=e8dbf00a789e3b56ca6c3d88e8048b7b2c18b797;hp=3c85a82885cd35d9a260153a33138c1106ae72c9;hpb=1db283bf19c3e2a41345895b887a88aea086cb29;p=musl diff --git a/src/unistd/setresgid.c b/src/unistd/setresgid.c index 3c85a828..9b9fe50b 100644 --- a/src/unistd/setresgid.c +++ b/src/unistd/setresgid.c @@ -5,6 +5,5 @@ int setresgid(gid_t rgid, gid_t egid, gid_t sgid) { - if (libc.rsyscall) return libc.rsyscall(__NR_setresgid, rgid, egid, sgid, 0, 0, 0); - return syscall(SYS_setresgid, rgid, egid, sgid); + return __rsyscall(SYS_setresgid, rgid, egid, sgid, 0, 0, 0); }