aboutsummaryrefslogtreecommitdiff
path: root/malloc/malloc.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2009-09-13 19:45:27 +0000
committerDmitry V. Levin <ldv@altlinux.org>2012-10-02 16:09:30 +0000
commitbb9510dc345f0b24de212604b2308dc6e6cc939a (patch)
tree891d99c626b90c113210c7e88e28caca1c46fefa /malloc/malloc.c
parent0569936773c861c791f10bba5e2f4cac5fbb4e78 (diff)
downloadglibc-bb9510dc345f0b24de212604b2308dc6e6cc939a.zip
glibc-bb9510dc345f0b24de212604b2308dc6e6cc939a.tar.gz
glibc-bb9510dc345f0b24de212604b2308dc6e6cc939a.tar.bz2
Clarify memory allocation error diagnostics to avoid confusion
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r--malloc/malloc.c3
1 files changed, 1 insertions, 2 deletions
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] ?: "<unknown>", str, cp);
}
else if (action & 2)