global cleanup to use the new syscall interface
[musl] / src / unistd / getpid.c
index 31cbe1c..4ab2b7f 100644 (file)
@@ -3,5 +3,5 @@
 
 pid_t getpid(void)
 {
-       return syscall0(__NR_getpid);
+       return syscall(SYS_getpid);
 }