diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-08-01 14:06:24 +0200 |
---|---|---|
committer | Arjun Shankar <ashankar@redhat.com> | 2019-10-30 19:32:56 +0100 |
commit | 6d750b18999b52ec74102c046cd27181f943bda8 (patch) | |
tree | 08ae42102e1da717455ed79c0a4ca152fc70b70d | |
parent | 5dab5eafb3dc2f72aaab911084d127d1af45a08c (diff) | |
download | glibc-6d750b18999b52ec74102c046cd27181f943bda8.zip glibc-6d750b18999b52ec74102c046cd27181f943bda8.tar.gz glibc-6d750b18999b52ec74102c046cd27181f943bda8.tar.bz2 |
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>
(cherry picked from commit b0f6679bcd738ea244a14acd879d974901e56c8e)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | malloc/malloc.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -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-15 Florian Weimer <fweimer@redhat.com> * malloc/Makefile (tests): Only add tst-mxfast for diff --git a/malloc/malloc.c b/malloc/malloc.c index 23dd605..06e1802 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -5523,7 +5523,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); |