From d878dceccaff9931160250496c6cc87a8fe45811 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 21 Apr 2011 21:52:41 -0400 Subject: omit errno update path for syscalls that cannot fail --- src/unistd/getppid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unistd/getppid.c') diff --git a/src/unistd/getppid.c b/src/unistd/getppid.c index 7d103207..05cade53 100644 --- a/src/unistd/getppid.c +++ b/src/unistd/getppid.c @@ -3,5 +3,5 @@ pid_t getppid(void) { - return syscall(SYS_getppid); + return __syscall(SYS_getppid); } -- cgit v1.2.1