Fixed --mem-stats flag.

This commit is contained in:
Andrey Shitov
2015-03-30 11:31:09 +03:00
parent 9746b2fd76
commit ac7edde72e
4 changed files with 21 additions and 21 deletions
+5 -5
View File
@@ -72,11 +72,11 @@ mem_finalize (bool is_show_mem_stats) /**< show heap memory stats
" Peak pools: %lu\n"
" Peak allocated chunks: %lu\n\n",
MEM_POOL_CHUNK_SIZE,
stats.pools_count,
stats.allocated_chunks,
stats.free_chunks,
stats.peak_pools_count,
stats.peak_allocated_chunks);
(unsigned long) stats.pools_count,
(unsigned long) stats.allocated_chunks,
(unsigned long) stats.free_chunks,
(unsigned long) stats.peak_pools_count,
(unsigned long) stats.peak_allocated_chunks);
#endif /* MEM_STATS */
}