summaryrefslogtreecommitdiff
path: root/src/unistd/getgid.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-21 21:52:41 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-21 21:52:41 -0400
commitd878dceccaff9931160250496c6cc87a8fe45811 (patch)
treef0368f898914797f72c2ec2f8de336445813028a /src/unistd/getgid.c
parent31f014e0a751d2bb9d40a09fe2cd1a8b0111acf6 (diff)
downloadmusl-d878dceccaff9931160250496c6cc87a8fe45811.tar.gz
musl-d878dceccaff9931160250496c6cc87a8fe45811.tar.bz2
musl-d878dceccaff9931160250496c6cc87a8fe45811.tar.xz
musl-d878dceccaff9931160250496c6cc87a8fe45811.zip
omit errno update path for syscalls that cannot fail
Diffstat (limited to 'src/unistd/getgid.c')
-rw-r--r--src/unistd/getgid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/getgid.c b/src/unistd/getgid.c
index 84823103..1c9fe715 100644
--- a/src/unistd/getgid.c
+++ b/src/unistd/getgid.c
@@ -3,5 +3,5 @@
gid_t getgid(void)
{
- return syscall(SYS_getgid);
+ return __syscall(SYS_getgid);
}