summaryrefslogtreecommitdiff
path: root/src/common/mempool.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-11 01:52:24 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-11 01:52:24 +0000
commitbc4d6515fc9819a6dd9729797e6e1006ce5dd5ce (patch)
tree54d417a445ad111642c23733187fbbb48d63b444 /src/common/mempool.c
parent65ee9dc5852fb8eaada7ff3e6f72249b7ceeef3f (diff)
downloadtor-bc4d6515fc9819a6dd9729797e6e1006ce5dd5ce.tar.gz
tor-bc4d6515fc9819a6dd9729797e6e1006ce5dd5ce.zip
r14111@tombo: nickm | 2008-02-10 20:52:19 -0500
"0 bytes in 1 empty chunks" is hardly likely. svn:r13463
Diffstat (limited to 'src/common/mempool.c')
-rw-r--r--src/common/mempool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mempool.c b/src/common/mempool.c
index 7e2369fc43..081009b9d2 100644
--- a/src/common/mempool.c
+++ b/src/common/mempool.c
@@ -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;