aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2014-01-02 09:38:18 +0100
committerOndřej Bílka <neleai@seznam.cz>2014-01-02 09:40:10 +0100
commit6c8dbf00f536d78b1937b5af6f57be47fd376344 (patch)
treead86d3e7433a907cac50ebbd9c39ca3402a87c6a /malloc/tst-mallocstate.c
parentFix return code from getent netgroup when the netgroup is not found (bz #16366) (diff)
downloadglibc-6c8dbf00f536d78b1937b5af6f57be47fd376344.tar.gz
glibc-6c8dbf00f536d78b1937b5af6f57be47fd376344.tar.bz2
glibc-6c8dbf00f536d78b1937b5af6f57be47fd376344.zip
Reformat malloc to gnu style.
Diffstat (limited to 'malloc/tst-mallocstate.c')
-rw-r--r--malloc/tst-mallocstate.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/malloc/tst-mallocstate.c b/malloc/tst-mallocstate.c
index 2b7c59b48d..69c4500b85 100644
--- a/malloc/tst-mallocstate.c
+++ b/malloc/tst-mallocstate.c
@@ -48,19 +48,19 @@ main (void)
free (malloc (10));
- for (i=0; i<100; ++i)
+ for (i = 0; i < 100; ++i)
{
save_state = malloc_get_state ();
if (save_state == NULL)
- {
- merror ("malloc_get_state () failed.");
- break;
- }
+ {
+ merror ("malloc_get_state () failed.");
+ break;
+ }
/*free (malloc (10)); This could change the top chunk! */
malloc_set_state (save_state);
- p1 = realloc (p1, i*4 + 4);
+ p1 = realloc (p1, i * 4 + 4);
if (p1 == NULL)
- merror ("realloc (i*4) failed.");
+ merror ("realloc (i*4) failed.");
free (save_state);
}