omit errno update path for syscalls that cannot fail
[musl] / src / unistd / getgid.c
index 8482310..1c9fe71 100644 (file)
@@ -3,5 +3,5 @@
 
 gid_t getgid(void)
 {
-       return syscall(SYS_getgid);
+       return __syscall(SYS_getgid);
 }