global cleanup to use the new syscall interface
[musl] / src / unistd / getppid.c
index a324182..7d10320 100644 (file)
@@ -3,5 +3,5 @@
 
 pid_t getppid(void)
 {
-       return syscall0(__NR_getppid);
+       return syscall(SYS_getppid);
 }