mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-02 01:40:27 -05:00
Fix pthread return value checks
This commit is contained in:
parent
be2efb69b9
commit
13850f9927
2 changed files with 3 additions and 3 deletions
|
|
@ -589,7 +589,7 @@ void pa_check_signal_is_blocked(int sig) {
|
|||
* blocked. Otherwise fall back to sigprocmask() */
|
||||
|
||||
#ifdef HAVE_PTHREAD
|
||||
if (pthread_sigmask(SIG_SETMASK, NULL, &set) < 0) {
|
||||
if (pthread_sigmask(SIG_SETMASK, NULL, &set) != 0) {
|
||||
#endif
|
||||
if (sigprocmask(SIG_SETMASK, NULL, &set) < 0) {
|
||||
pa_log("sigprocmask(): %s", pa_cstrerror(errno));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue