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:
Tanu Kaskinen 2013-06-23 10:23:10 +03:00
parent cffcaaec68
commit 0587b5aa31

View file

@ -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);