Fix format specifier for n_mmaps
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Mon, 2 Jun 2014 18:05:09 +0000 (23:35 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Mon, 2 Jun 2014 18:08:32 +0000 (23:38 +0530)
ChangeLog
malloc/malloc.c

index 8a55607..75cd049 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * malloc/malloc.c (malloc_info): Fix format specifier for
+       n_mmaps.
+
 2014-06-02  Wilco  <wdijkstr@arm.com>
 
        * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
index 79b109d..d8fd8b4 100644 (file)
@@ -5148,7 +5148,7 @@ malloc_info (int options, FILE *fp)
   fprintf (fp,
           "<total type=\"fast\" count=\"%zu\" size=\"%zu\"/>\n"
           "<total type=\"rest\" count=\"%zu\" size=\"%zu\"/>\n"
-          "<total type=\"mmap\" count=\"%zu\" size=\"%zu\"/>\n"
+          "<total type=\"mmap\" count=\"%d\" size=\"%zu\"/>\n"
           "<system type=\"current\" size=\"%zu\"/>\n"
           "<system type=\"max\" size=\"%zu\"/>\n"
           "<aspace type=\"total\" size=\"%zu\"/>\n"