[pulseaudio-commits] src/pulsecore

Tanu Kaskinen tanuk at kemper.freedesktop.org
Sun Jun 23 00:30:32 PDT 2013


 src/pulsecore/core-util.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0587b5aa3138605d31bc9b6db918a063e5734981
Author: Tanu Kaskinen <tanuk at iki.fi>
Date:   Sun Jun 23 10:23:10 2013 +0300

    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.

diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c
index aa8c3f1..53149bb 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);



More information about the pulseaudio-commits mailing list