]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
malloc: Remove unwanted leading whitespace in malloc_info [BZ #24867]
authorFlorian Weimer <fweimer@redhat.com>
Thu, 1 Aug 2019 14:48:12 +0000 (16:48 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 1 Aug 2019 14:48:12 +0000 (16:48 +0200)
It was introduced in commit 6c8dbf00f536d78b1937b5af6f57be47fd376344
("Reformat malloc to gnu style.").

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
(cherry picked from commit b0f6679bcd738ea244a14acd879d974901e56c8e)

ChangeLog
NEWS
malloc/malloc.c

index cdb9e14881715711685d5f16515ec1f76729c82b..a2bf94f6e937537e668ac10c3127c93140428aad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-08-01  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #24867]
+       * malloc/malloc.c (__malloc_info): Remove unwanted leading
+       whitespace.
+
 2019-08-01  Carlos O'Donell <carlos@redhat.com>
 
        * version.h (RELEASE): Set to "stable".
diff --git a/NEWS b/NEWS
index ee9ed4de5a3f28a7cd6a882c82fe89cf3f68e2f7..2a57721d72d7964ba4cd297943423675dac6a9d0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,13 @@ See the end for copying conditions.
 
 Please send GNU C library bug reports via <https://sourceware.org/bugzilla/>
 using `glibc' in the "product" field.
+\f
+Version 2.30.1
+
+The following bugs are resolved with this release:
+
+  [24867] malloc: Remove unwanted leading whitespace in malloc_info
+
 \f
 Version 2.30
 
index 00ce48cf5879c87f051af781e9b2d99f384e55dd..343d89f4893e33b95e7648460c4cb7fd6ff382ab 100644 (file)
@@ -5491,7 +5491,7 @@ __malloc_info (int options, FILE *fp)
 
       for (size_t i = 0; i < nsizes; ++i)
        if (sizes[i].count != 0 && i != NFASTBINS)
-         fprintf (fp, "                                                              \
+         fprintf (fp, "\
   <size from=\"%zu\" to=\"%zu\" total=\"%zu\" count=\"%zu\"/>\n",
                   sizes[i].from, sizes[i].to, sizes[i].total, sizes[i].count);