mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
mutex-posix: Fix error assignment for unlock() check
This comment was missed in 757eb26448.
This commit is contained in:
parent
a73ec2a3f4
commit
5f3717f39c
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ void pa_mutex_unlock(pa_mutex *m) {
|
|||
|
||||
pa_assert(m);
|
||||
|
||||
if ((err = pthread_mutex_unlock(&m->mutex) != 0)) {
|
||||
if ((err = pthread_mutex_unlock(&m->mutex)) != 0) {
|
||||
pa_log("pthread_mutex_unlock() failed: %s", pa_cstrerror(err));
|
||||
pa_assert_not_reached();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue