summaryrefslogtreecommitdiffstats
path: root/common/dlmalloc.c
diff options
context:
space:
mode:
authorHolger Schurig <holgerschurig@gmail.com>2014-05-30 11:07:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-06-02 09:07:12 +0200
commitbd278ae4fd26b6b36c3a985167d71957d0e40f17 (patch)
tree0d9e2a48c9d2ed23d5bd556c310ec8609056cd36 /common/dlmalloc.c
parent7158ac3f6e01bbfd2258da9681e1ee8383b1bd6e (diff)
downloadbarebox-bd278ae4fd26b6b36c3a985167d71957d0e40f17.tar.gz
meminfo: purely cosmetical changes
Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/dlmalloc.c')
-rw-r--r--common/dlmalloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/dlmalloc.c b/common/dlmalloc.c
index f006206..d831e90 100644
--- a/common/dlmalloc.c
+++ b/common/dlmalloc.c
@@ -1942,13 +1942,13 @@ static void malloc_update_mallinfo(void)
void malloc_stats(void)
{
malloc_update_mallinfo();
- printf("max system bytes = %10u\n", (unsigned int)(max_total_mem));
- printf("system bytes = %10u\n",
+ printf("Maximum system memory: %u\n", (unsigned int)(max_total_mem));
+ printf("Current system memory: %u\n",
(unsigned int)(sbrked_mem + mmapped_mem));
- printf("in use bytes = %10u\n",
+ printf("in use: %u\n",
(unsigned int)(current_mallinfo.uordblks + mmapped_mem));
#if HAVE_MMAP
- fprintf(stderr, "max mmap regions = %10u\n",
+ printf("Maximum mmap'ed mmap regions: %u\n",
(unsigned int) max_n_mmaps);
#endif
}