From 0587b5aa3138605d31bc9b6db918a063e5734981 Mon Sep 17 00:00:00 2001 From: Tanu Kaskinen Date: Sun, 23 Jun 2013 10:23:10 +0300 Subject: [PATCH] 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. --- src/pulsecore/core-util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c index aa8c3f143..53149bb9c 100644 --- a/src/pulsecore/core-util.c +++ b/src/pulsecore/core-util.c @@ -731,12 +731,12 @@ static int set_scheduler(int rtprio) { r = getrlimit(RLIMIT_RTTIME, &rl); 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; r = setrlimit(RLIMIT_RTTIME, &rl); if (r < 0) - pa_log_info("setrlimit() failed: %s", pa_cstrerror(errno)); + pa_log("setrlimit() failed: %s", pa_cstrerror(errno)); } #endif r = rtkit_make_realtime(bus, 0, rtprio);