X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fsetregid.c;h=f5a8972ae4f509ed80d946ef74c3603bcfd0ca34;hb=ae0c1de530bc3b27069008b8b247171d08dbe80b;hp=49c59858dffda69b10eea6dc9e52b4b32e665857;hpb=b2486a8922bf4977bd82c8190258e39de28c053b;p=musl diff --git a/src/unistd/setregid.c b/src/unistd/setregid.c index 49c59858..f5a8972a 100644 --- a/src/unistd/setregid.c +++ b/src/unistd/setregid.c @@ -4,5 +4,5 @@ int setregid(gid_t rgid, gid_t egid) { - return __rsyscall(__NR_setregid, rgid, egid, 0, 0, 0, 0); + return __setxid(SYS_setregid, rgid, egid, 0); }