aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-08-01 14:06:24 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-08-01 14:07:08 +0200
commitb0f6679bcd738ea244a14acd879d974901e56c8e (patch)
tree333b564994719f02aceef3cc1a5f2cb4eb19a25e
parente1df30fbc2e2167a982c0e77a7ebee28f4dd0800 (diff)
downloadglibc-b0f6679bcd738ea244a14acd879d974901e56c8e.tar
glibc-b0f6679bcd738ea244a14acd879d974901e56c8e.tar.gz
glibc-b0f6679bcd738ea244a14acd879d974901e56c8e.tar.bz2
glibc-b0f6679bcd738ea244a14acd879d974901e56c8e.zip
malloc: Remove unwanted leading whitespace in malloc_info [BZ #24867]
It was introduced in commit 6c8dbf00f536d78b1937b5af6f57be47fd376344 ("Reformat malloc to gnu style."). Reviewed-by: Carlos O'Donell <carlos@redhat.com>
-rw-r--r--ChangeLog6
-rw-r--r--malloc/malloc.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 17918a129c..6d4d437444 100644
--- 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 Adhemerval Zanella <adhemerval.zanella@linaro.org>
[BZ #15813]
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 00ce48cf58..343d89f489 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -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);