global cleanup to use the new syscall interface
[musl] / src / unistd / getgid.c
index 8a4590b..8482310 100644 (file)
@@ -3,5 +3,5 @@
 
 gid_t getgid(void)
 {
-       return syscall0(__NR_getgid);
+       return syscall(SYS_getgid);
 }