X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fsetresgid.c;h=b9af540af2e66516b5105cbb694b9d4a7c3645af;hb=ae4b0b96d63fe3cbd70008350f998570c9e91f7f;hp=9b9fe50bc02b3a1febe195812c76ea843fa9a82b;hpb=c2cd25bff89c3581780e7eb267262cb8c4da0d38;p=musl diff --git a/src/unistd/setresgid.c b/src/unistd/setresgid.c index 9b9fe50b..b9af540a 100644 --- a/src/unistd/setresgid.c +++ b/src/unistd/setresgid.c @@ -5,5 +5,5 @@ int setresgid(gid_t rgid, gid_t egid, gid_t sgid) { - return __rsyscall(SYS_setresgid, rgid, egid, sgid, 0, 0, 0); + return __setxid(SYS_setresgid, rgid, egid, sgid); }