correct error returns for error-checking mutexes
[musl] / src / thread / __set_thread_area.c