about summary refs log tree commit diff
path: root/src/unistd/getpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/getpid.c')
-rw-r--r--src/unistd/getpid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/getpid.c b/src/unistd/getpid.c
index 31cbe1cb..4ab2b7f1 100644
--- a/src/unistd/getpid.c
+++ b/src/unistd/getpid.c
@@ -3,5 +3,5 @@
 
 pid_t getpid(void)
 {
-	return syscall0(__NR_getpid);
+	return syscall(SYS_getpid);
 }