summaryrefslogtreecommitdiff
path: root/src/unistd/getpid.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-25 21:08:46 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-25 21:08:46 -0500
commitf26bf1396557e4bc739d6a7703099f75bfe2fb99 (patch)
tree1ac1d21defcccac8032590aa6bc145b9d8877016 /src/unistd/getpid.c
parent21f6ab11f8554328772ac992ced6947b2b67df65 (diff)
fix warning from -Wall
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)