mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-31 11:08:52 -05:00
remove all occurences of
pa_logXXX(__FILE__":
and replace them by
pa_logXXX("
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1272 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
1bc62d5ec6
commit
e385d93e5a
87 changed files with 714 additions and 714 deletions
|
|
@ -184,7 +184,7 @@ static struct mempool_slot* mempool_allocate_slot(pa_mempool *p) {
|
|||
} else if (p->n_init < p->n_blocks)
|
||||
slot = (struct mempool_slot*) ((uint8_t*) p->memory.ptr + (p->block_size * p->n_init++));
|
||||
else {
|
||||
pa_log_debug(__FILE__": Pool full");
|
||||
pa_log_debug("Pool full");
|
||||
p->stat.n_pool_full++;
|
||||
return NULL;
|
||||
}
|
||||
|
|
@ -241,7 +241,7 @@ pa_memblock *pa_memblock_new_pool(pa_mempool *p, size_t length) {
|
|||
b->type = PA_MEMBLOCK_POOL_EXTERNAL;
|
||||
b->data = mempool_slot_data(slot);
|
||||
} else {
|
||||
pa_log_debug(__FILE__": Memory block to large for pool: %u > %u", length, p->block_size - sizeof(struct mempool_slot));
|
||||
pa_log_debug("Memory block to large for pool: %u > %u", length, p->block_size - sizeof(struct mempool_slot));
|
||||
p->stat.n_too_large_for_pool++;
|
||||
return NULL;
|
||||
}
|
||||
|
|
@ -464,7 +464,7 @@ void pa_mempool_free(pa_mempool *p) {
|
|||
pa_memexport_free(p->exports);
|
||||
|
||||
if (p->stat.n_allocated > 0)
|
||||
pa_log_warn(__FILE__": WARNING! Memory pool destroyed but not all memory blocks freed!");
|
||||
pa_log_warn("WARNING! Memory pool destroyed but not all memory blocks freed!");
|
||||
|
||||
pa_shm_free(&p->memory);
|
||||
pa_xfree(p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue