aboutsummaryrefslogtreecommitdiff
path: root/malloc/hooks.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-09 21:10:29 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-09 21:10:29 +0000
commita962d7dc18f73d075ef0bc4b6e08b05920b49353 (patch)
tree312bace5c418d3147bb1554642ecbda101f49356 /malloc/hooks.c
parent14abadc8bf54ed8cf3585aa2f0aa869df4f83983 (diff)
downloadglibc-a962d7dc18f73d075ef0bc4b6e08b05920b49353.tar
glibc-a962d7dc18f73d075ef0bc4b6e08b05920b49353.tar.gz
glibc-a962d7dc18f73d075ef0bc4b6e08b05920b49353.tar.bz2
glibc-a962d7dc18f73d075ef0bc4b6e08b05920b49353.zip
Update.
2004-09-09 Ulrich Drepper <drepper@redhat.com> * malloc/hooks.c (top_check): Print top chunk corruption as normal error message. * malloc/malloc.c (malloc_printerr): Don't make informational message look like error message.
Diffstat (limited to 'malloc/hooks.c')
-rw-r--r--malloc/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/hooks.c b/malloc/hooks.c
index 4de558270f..8a94fd0be8 100644
--- a/malloc/hooks.c
+++ b/malloc/hooks.c
@@ -216,7 +216,7 @@ top_check()
if((char*)t + chunksize(t) == mp_.sbrk_base + main_arena.system_mem ||
t == initial_top(&main_arena)) return 0;
- malloc_printerr (check_action | 4, "malloc: top chunk is corrupt", NULL);
+ malloc_printerr (check_action, "malloc: top chunk is corrupt", t);
/* Try to set up a new top chunk. */
brk = MORECORE(0);