aboutsummaryrefslogtreecommitdiff
path: root/malloc/tst-realloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/tst-realloc.c')
-rw-r--r--malloc/tst-realloc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/malloc/tst-realloc.c b/malloc/tst-realloc.c
index 458f16fe46..dc5fc3db82 100644
--- a/malloc/tst-realloc.c
+++ b/malloc/tst-realloc.c
@@ -79,11 +79,11 @@ do_test (void)
for (i = 0; i < 20; i++)
{
if (c[i] != 0)
- ok = 0;
+ ok = 0;
}
if (ok == 0)
- merror ("first 20 bytes were not cleared");
+ merror ("first 20 bytes were not cleared");
free (p);
@@ -104,11 +104,11 @@ do_test (void)
for (i = 0; i < 16; i++)
{
if (c[i] != 0xff)
- ok = 0;
+ ok = 0;
}
if (ok == 0)
- merror ("first 16 bytes were not correct");
+ merror ("first 16 bytes were not correct");
/* Check failed realloc leaves original untouched (C89). */
c = realloc (p, -1);
@@ -121,11 +121,11 @@ do_test (void)
for (i = 0; i < 16; i++)
{
if (c[i] != 0xff)
- ok = 0;
+ ok = 0;
}
if (ok == 0)
- merror ("first 16 bytes were not correct after failed realloc");
+ merror ("first 16 bytes were not correct after failed realloc");
/* realloc (p, 0) frees p (C89) and returns NULL (glibc). */
p = realloc (p, 0);