fix completely bogus loop condition in getmntent_r
[oweals/musl.git] / src / unistd / getpid.c
index 31cbe1cbc248b0751ccd2c144ea2caec2ba709d4..4ab2b7f1720586245ae4fe8436f5d5101d1e8019 100644 (file)
@@ -3,5 +3,5 @@
 
 pid_t getpid(void)
 {
-       return syscall0(__NR_getpid);
+       return syscall(SYS_getpid);
 }