omit errno update path for syscalls that cannot fail
[musl] / src / unistd / getppid.c
index 7d10320..05cade5 100644 (file)
@@ -3,5 +3,5 @@
 
 pid_t getppid(void)
 {
-       return syscall(SYS_getppid);
+       return __syscall(SYS_getppid);
 }