omit errno update path for syscalls that cannot fail
[musl] / src / unistd / getpgrp.c
index 02449da..433f42e 100644 (file)
@@ -3,5 +3,5 @@
 
 pid_t getpgrp(void)
 {
-       return syscall(SYS_getpgrp);
+       return __syscall(SYS_getpgrp);
 }