mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-12 13:30:15 -05:00
pipewire: thread: fix strerror() argument
This commit is contained in:
parent
08c7c7999b
commit
bf43515589
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ static struct spa_thread *impl_create(void *object,
|
||||||
pw_log_warn("pthread_setname error: %s", strerror(err));
|
pw_log_warn("pthread_setname error: %s", strerror(err));
|
||||||
if ((str = spa_dict_lookup(props, SPA_KEY_THREAD_AFFINITY)) != NULL &&
|
if ((str = spa_dict_lookup(props, SPA_KEY_THREAD_AFFINITY)) != NULL &&
|
||||||
(err = thread_setaffinity(pt, str)) != 0)
|
(err = thread_setaffinity(pt, str)) != 0)
|
||||||
pw_log_warn("pthread_setaffinity error: %s", strerror(err));
|
pw_log_warn("pthread_setaffinity error: %s", strerror(-err));
|
||||||
}
|
}
|
||||||
return (struct spa_thread*)pt;
|
return (struct spa_thread*)pt;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue