From 6c8dbf00f536d78b1937b5af6f57be47fd376344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20B=C3=ADlka?= Date: Thu, 2 Jan 2014 09:38:18 +0100 Subject: Reformat malloc to gnu style. --- malloc/mallocbug.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'malloc/mallocbug.c') 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"); -- cgit v1.2.3