]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/memblock.c
ratelimit: fix log levels of log suppression messages
[pulseaudio] / src / pulsecore / memblock.c
index f38b17c6a2d0afd5be8b372dc0381cce3f559c43..454900d104c7ebaa398cb1c305ca4b8c648a56f3 100644 (file)
@@ -258,7 +258,7 @@ static struct mempool_slot* mempool_allocate_slot(pa_mempool *p) {
             slot = (struct mempool_slot*) ((uint8_t*) p->memory.ptr + (p->block_size * (size_t) idx));
 
         if (!slot) {
-            if (pa_log_ratelimit())
+            if (pa_log_ratelimit(PA_LOG_DEBUG))
                 pa_log_debug("Pool full");
             pa_atomic_inc(&p->stat.n_pool_full);
             return NULL;