X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Funistd%2Fsetresgid.c;fp=src%2Funistd%2Fsetresgid.c;h=2b0c96d8708de8142887ac668025d6edc59d4b4e;hp=3c85a82885cd35d9a260153a33138c1106ae72c9;hb=b2486a8922bf4977bd82c8190258e39de28c053b;hpb=74950b336d27532718428c7f5f98409c74f30819 diff --git a/src/unistd/setresgid.c b/src/unistd/setresgid.c index 3c85a828..2b0c96d8 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(__NR_setresgid, rgid, egid, sgid, 0, 0, 0); }