From 62a5881678b725cdabb27225ebae208a6e4b3f90 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Fri, 30 May 2014 22:44:45 +0530 Subject: [PATCH] Fix formatting in malloc_info --- ChangeLog | 4 ++++ malloc/malloc.c | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index d2a94b2..d8c416f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ 2014-05-30 Siddhesh Poyarekar + + * malloc/malloc (malloc_info): Fix formatting. + +2014-05-30 Siddhesh Poyarekar Roland McGrath * malloc/malloc (malloc_info): Also print mmapped statistics. diff --git a/malloc/malloc.c b/malloc/malloc.c index e78f8df..79b109d 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -5146,18 +5146,18 @@ malloc_info (int options, FILE *fp) while (ar_ptr != &main_arena); fprintf (fp, - "\n" - "\n" + "\n" + "\n" "\n" - "\n" - "\n" - "\n" - "\n" - "\n", - total_nfastblocks, total_fastavail, total_nblocks, total_avail, + "\n" + "\n" + "\n" + "\n" + "\n", + total_nfastblocks, total_fastavail, total_nblocks, total_avail, mp_.n_mmaps, mp_.mmapped_mem, - total_system, total_max_system, - total_aspace, total_aspace_mprotect); + total_system, total_max_system, + total_aspace, total_aspace_mprotect); return 0; } -- 2.7.4