diff options
author | Ondřej Bílka <neleai@seznam.cz> | 2014-01-02 09:38:18 +0100 |
---|---|---|
committer | Ondřej Bílka <neleai@seznam.cz> | 2014-01-02 09:40:10 +0100 |
commit | 6c8dbf00f536d78b1937b5af6f57be47fd376344 (patch) | |
tree | ad86d3e7433a907cac50ebbd9c39ca3402a87c6a /malloc/mallocbug.c | |
parent | 9a3c6a6ff602c88d7155139a7d7d0000b7b7e946 (diff) | |
download | glibc-6c8dbf00f536d78b1937b5af6f57be47fd376344.tar.gz glibc-6c8dbf00f536d78b1937b5af6f57be47fd376344.tar.xz glibc-6c8dbf00f536d78b1937b5af6f57be47fd376344.zip |
Reformat malloc to gnu style.
Diffstat (limited to 'malloc/mallocbug.c')
-rw-r--r-- | malloc/mallocbug.c | 18 |
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"); |