Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pthread_barrier_destroy: Fix return value, if sem_getvalue fails
sem_getvalue returns ERROR and sets errno if it fails, we don't want to return OK in this case, we want to return the non-negated error number.
- Loading branch information