mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
module-rt: fix compilation
This commit is contained in:
parent
5cad844b49
commit
b95c145446
1 changed files with 1 additions and 1 deletions
|
|
@ -531,7 +531,7 @@ static bool check_realtime_privileges(rlim_t priority)
|
||||||
* running as root. Instead of checking a bunch of preconditions, we
|
* running as root. Instead of checking a bunch of preconditions, we
|
||||||
* just try if setting realtime scheduling works or not. */
|
* just try if setting realtime scheduling works or not. */
|
||||||
if (pthread_getschedparam(pthread_self(),&old_policy,&old_sched_params) < 0 ) {
|
if (pthread_getschedparam(pthread_self(),&old_policy,&old_sched_params) < 0 ) {
|
||||||
pw_log_warn("Failed to check RLIMIT_RTPRIO %i");
|
pw_log_warn("Failed to check RLIMIT_RTPRIO %m");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue