summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/asyncq.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-01-22 01:08:36 +0100
committerLennart Poettering <lennart@poettering.net>2011-01-22 01:08:36 +0100
commitec5a7857127a1b3b9c5517c4a70a9b2c8aab35ca (patch)
tree61e3af8c533d3d676c5f3db26c33486b4ae92adc /src/pulsecore/asyncq.c
parenteb966f745511944ba976c17e56d60b384c59d757 (diff)
ratelimit: fix log levels of log suppression messages
When logging a suppression message do so on the same log level as the suppressed messages.
Diffstat (limited to 'src/pulsecore/asyncq.c')
-rw-r--r--src/pulsecore/asyncq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/asyncq.c b/src/pulsecore/asyncq.c
index 072ef02c..e62d0c16 100644
--- a/src/pulsecore/asyncq.c
+++ b/src/pulsecore/asyncq.c
@@ -206,7 +206,7 @@ void pa_asyncq_post(pa_asyncq*l, void *p) {
/* OK, we couldn't push anything in the queue. So let's queue it
* locally and push it later */
- if (pa_log_ratelimit())
+ if (pa_log_ratelimit(PA_LOG_WARN))
pa_log_warn("q overrun, queuing locally");
if (!(q = pa_flist_pop(PA_STATIC_FLIST_GET(localq))))