remove another invalid skip of locking in ungetwc
[oweals/musl.git] / src / unistd / getppid.c
index a3241829964940c1bd273b632ca56de89baea5a5..05cade53b689226bff4a6726eafe2e97a5535b01 100644 (file)
@@ -3,5 +3,5 @@
 
 pid_t getppid(void)
 {
-       return syscall0(__NR_getppid);
+       return __syscall(SYS_getppid);
 }