From bb9510dc345f0b24de212604b2308dc6e6cc939a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sun, 13 Sep 2009 19:45:27 +0000 Subject: Clarify memory allocation error diagnostics to avoid confusion --- malloc/malloc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'malloc') diff --git a/malloc/malloc.c b/malloc/malloc.c index ca1d73f..892bc64 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -4899,8 +4899,7 @@ malloc_printerr(int action, const char *str, void *ptr) while (cp > buf) *--cp = '0'; - __libc_message (action & 2, - "*** glibc detected *** %s: %s: 0x%s ***\n", + __libc_message (action & 2, "*** Error in `%s': %s: 0x%s ***\n", __libc_argv[0] ?: "", str, cp); } else if (action & 2) -- cgit v1.1