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