aboutsummaryrefslogtreecommitdiff
path: root/malloc/mallocbug.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/mallocbug.c')
-rw-r--r--malloc/mallocbug.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/malloc/mallocbug.c b/malloc/mallocbug.c
index fc607aed34..7d19b6fc65 100644
--- a/malloc/mallocbug.c
+++ b/malloc/mallocbug.c
@@ -22,14 +22,14 @@ main (int argc, char *argv[])
size_t i;
/* Here's what memory is supposed to look like (hex):
- size contents
- 3000 original_info_table, later fill_info_table1
+ size contents
+ 3000 original_info_table, later fill_info_table1
3fa000 dummy0
3fa000 dummy1
- 6000 info_table_2
- 3000 over_top
+ 6000 info_table_2
+ 3000 over_top
- */
+ */
/* mem: original_info_table */
dummy0 = malloc (0x3fa000);
/* mem: original_info_table, dummy0 */
@@ -54,15 +54,15 @@ main (int argc, char *argv[])
for (i = 0; i < over_top_size; ++i)
if (over_top[i] != 0)
{
- printf ("FAIL: malloc expands info table\n");
- return 0;
+ printf ("FAIL: malloc expands info table\n");
+ return 0;
}
for (i = 0; i < over_top_dup_size; ++i)
if (over_top_dup[i] != 1)
{
- printf ("FAIL: malloc expands info table\n");
- return 0;
+ printf ("FAIL: malloc expands info table\n");
+ return 0;
}
printf ("PASS: malloc expands info table\n");