r14111@tombo: nickm | 2008-02-10 20:52:19 -0500

"0 bytes in 1 empty chunks" is hardly likely.


svn:r13463
This commit is contained in:
Nick Mathewson
2008-02-11 01:52:24 +00:00
parent 65ee9dc585
commit bc4d6515fc
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -608,7 +608,7 @@ mp_pool_log_status(mp_pool_t *pool, int severity)
bytes_allocated += chunk->mem_size;
}
log_fn(severity, LD_MM, U64_FORMAT" bytes in %d empty chunks",
U64_PRINTF_ARG(bytes_used), pool->n_empty_chunks);
U64_PRINTF_ARG(bytes_allocated), pool->n_empty_chunks);
for (chunk = pool->used_chunks; chunk; chunk = chunk->next) {
++n_used;
bu += chunk->n_allocated * pool->item_alloc_size;