summaryrefslogtreecommitdiff
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 333735b2..eb6be595 100644
--- a/src/unistd/getpid.c
+++ b/src/unistd/getpid.c
@@ -5,7 +5,7 @@
pid_t getpid(void)
{
- SCNOFAIL();
+ SYSCALL("getpid", pid_t, -1, 0, 0, 0, 0, 0, 0);
}
/*
POSIX(1)