mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
core-util: Fix log message levels
This code is from heftig, but the mistake that I'm fixing here is my own. Before applying heftig's patch, I downgraded the level of one of the log messages. I managed to downgrade a different message than what I intended, so now I'm undoing that mistake.
This commit is contained in:
parent
cffcaaec68
commit
0587b5aa31
1 changed files with 2 additions and 2 deletions
|
|
@ -731,12 +731,12 @@ static int set_scheduler(int rtprio) {
|
||||||
r = getrlimit(RLIMIT_RTTIME, &rl);
|
r = getrlimit(RLIMIT_RTTIME, &rl);
|
||||||
|
|
||||||
if (r >= 0 && (long long) rl.rlim_max > rttime) {
|
if (r >= 0 && (long long) rl.rlim_max > rttime) {
|
||||||
pa_log_warn("Clamping rlimit-rttime to %lld for RealtimeKit\n", rttime);
|
pa_log_info("Clamping rlimit-rttime to %lld for RealtimeKit\n", rttime);
|
||||||
rl.rlim_cur = rl.rlim_max = rttime;
|
rl.rlim_cur = rl.rlim_max = rttime;
|
||||||
r = setrlimit(RLIMIT_RTTIME, &rl);
|
r = setrlimit(RLIMIT_RTTIME, &rl);
|
||||||
|
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
pa_log_info("setrlimit() failed: %s", pa_cstrerror(errno));
|
pa_log("setrlimit() failed: %s", pa_cstrerror(errno));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
r = rtkit_make_realtime(bus, 0, rtprio);
|
r = rtkit_make_realtime(bus, 0, rtprio);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue