mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user