]> code.delx.au - pulseaudio/commitdiff
core-util: Fix log message levels
authorTanu Kaskinen <tanuk@iki.fi>
Sun, 23 Jun 2013 07:23:10 +0000 (10:23 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Sun, 23 Jun 2013 07:27:28 +0000 (10:27 +0300)
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

index aa8c3f143ed6793dc7a5d5c02153ac3f4d0518ef..53149bb9c537a0e13c5a90ca64cf021efa7ee014 100644 (file)
@@ -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);