consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix
[musl] / src / unistd / setresgid.c
index 3c85a82..9b9fe50 100644 (file)
@@ -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(SYS_setresgid, rgid, egid, sgid, 0, 0, 0);
 }