use atomic decrement rather than cas in pthread_exit thread count
[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);
 }