math: sinh.c cleanup similar to the cosh one
[musl] / src / unistd / setgid.c
index b54d2b2..bae4616 100644 (file)
@@ -4,5 +4,5 @@
 
 int setgid(gid_t gid)
 {
-       return __rsyscall(__NR_setgid, gid, 0, 0, 0, 0, 0);
+       return __setxid(SYS_setgid, gid, 0, 0);
 }