malloc: Remove unwanted leading whitespace in malloc_info [BZ #24867]
diff mbox series

Message ID 87k1bxi00t.fsf@oldenburg2.str.redhat.com
State New
Headers show
Series
  • malloc: Remove unwanted leading whitespace in malloc_info [BZ #24867]
Related show

Commit Message

Florian Weimer Aug. 1, 2019, 11:43 a.m. UTC
It was introduced in commit 6c8dbf00f536d78b1937b5af6f57be47fd376344
("Reformat malloc to gnu style.").

2019-08-01  Florian Weimer  <fweimer@redhat.com>

	[BZ #24867]
	* malloc/malloc.c (__malloc_info): Remove unwanted leading
	whitespace.

Comments

Carlos O'Donell Aug. 1, 2019, 12:04 p.m. UTC | #1
On 8/1/19 7:43 AM, Florian Weimer wrote:
> It was introduced in commit 6c8dbf00f536d78b1937b5af6f57be47fd376344
> ("Reformat malloc to gnu style.").
> 
> 2019-08-01  Florian Weimer  <fweimer@redhat.com>
> 
> 	[BZ #24867]
> 	* malloc/malloc.c (__malloc_info): Remove unwanted leading
> 	whitespace.

LGTM.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>

> 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);
>   
>

Patch
diff mbox series

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);