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