Fix formatting in malloc_info
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Fri, 30 May 2014 17:14:45 +0000 (22:44 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Fri, 30 May 2014 17:14:45 +0000 (22:44 +0530)
ChangeLog
malloc/malloc.c

index d2a94b2..d8c416f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * malloc/malloc (malloc_info): Fix formatting.
+
+2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
            Roland McGrath  <roland@hack.frob.com>
 
        * malloc/malloc (malloc_info): Also print mmapped statistics.
index e78f8df..79b109d 100644 (file)
@@ -5146,18 +5146,18 @@ malloc_info (int options, FILE *fp)
   while (ar_ptr != &main_arena);
 
   fprintf (fp,
-           "<total type=\"fast\" count=\"%zu\" size=\"%zu\"/>\n"
-           "<total type=\"rest\" count=\"%zu\" size=\"%zu\"/>\n"
+          "<total type=\"fast\" count=\"%zu\" size=\"%zu\"/>\n"
+          "<total type=\"rest\" count=\"%zu\" size=\"%zu\"/>\n"
           "<total type=\"mmap\" count=\"%zu\" size=\"%zu\"/>\n"
-           "<system type=\"current\" size=\"%zu\"/>\n"
-           "<system type=\"max\" size=\"%zu\"/>\n"
-           "<aspace type=\"total\" size=\"%zu\"/>\n"
-           "<aspace type=\"mprotect\" size=\"%zu\"/>\n"
-           "</malloc>\n",
-           total_nfastblocks, total_fastavail, total_nblocks, total_avail,
+          "<system type=\"current\" size=\"%zu\"/>\n"
+          "<system type=\"max\" size=\"%zu\"/>\n"
+          "<aspace type=\"total\" size=\"%zu\"/>\n"
+          "<aspace type=\"mprotect\" size=\"%zu\"/>\n"
+          "</malloc>\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;
 }