diff options
Diffstat (limited to 'malloc/tst-realloc.c')
-rw-r--r-- | malloc/tst-realloc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/malloc/tst-realloc.c b/malloc/tst-realloc.c index 9d290d24c0..dc5fc3db82 100644 --- a/malloc/tst-realloc.c +++ b/malloc/tst-realloc.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2013 Free Software Foundation, Inc. +/* Copyright (C) 2013-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -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); |