omit errno update path for syscalls that cannot fail
[musl] / src / unistd / getpid.c
index 4ab2b7f..a6d4e6d 100644 (file)
@@ -3,5 +3,5 @@
 
 pid_t getpid(void)
 {
-       return syscall(SYS_getpid);
+       return __syscall(SYS_getpid);
 }