diff options
Diffstat (limited to 'src/common/mempool.c')
-rw-r--r-- | src/common/mempool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/mempool.c b/src/common/mempool.c index 9f1fd394bd..dcdb27c3c7 100644 --- a/src/common/mempool.c +++ b/src/common/mempool.c @@ -517,7 +517,7 @@ mp_pool_log_status(mp_pool_t *pool, int severity) " bytes in %d partially full chunks", U64_PRINTF_ARG(bu), U64_PRINTF_ARG(ba), n_used); bytes_used += bu; - bytes_allocated += bu; + bytes_allocated += ba; bu = ba = 0; for (chunk = pool->full_chunks; chunk; chunk = chunk->next) { ++n_full; @@ -528,7 +528,7 @@ mp_pool_log_status(mp_pool_t *pool, int severity) " bytes in %d full chunks", U64_PRINTF_ARG(bu), U64_PRINTF_ARG(ba), n_full); bytes_used += bu; - bytes_allocated += bu; + bytes_allocated += ba; log_fn(severity, LD_MM, "Total: "U64_FORMAT"/"U64_FORMAT" bytes allocated " "for cell pools are full.", |