about summary refs log tree commit diff
path: root/src/unistd/getegid.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/getegid.c
parent31f014e0a751d2bb9d40a09fe2cd1a8b0111acf6 (diff)
downloadmusl-d878dceccaff9931160250496c6cc87a8fe45811.tar.gz
musl-d878dceccaff9931160250496c6cc87a8fe45811.tar.xz
musl-d878dceccaff9931160250496c6cc87a8fe45811.zip
omit errno update path for syscalls that cannot fail
Diffstat (limited to 'src/unistd/getegid.c')
-rw-r--r--src/unistd/getegid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/getegid.c b/src/unistd/getegid.c
index 76038f63..6287490d 100644
--- a/src/unistd/getegid.c
+++ b/src/unistd/getegid.c
@@ -3,5 +3,5 @@
 
 gid_t getegid(void)
 {
-	return syscall(SYS_getegid);
+	return __syscall(SYS_getegid);
 }