aboutsummaryrefslogtreecommitdiff
path: root/malloc
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
parentDefine HAS_FMA with bit_FMA_Usable (diff)
downloadglibc-bb9510dc345f0b24de212604b2308dc6e6cc939a.tar.gz
glibc-bb9510dc345f0b24de212604b2308dc6e6cc939a.tar.bz2
glibc-bb9510dc345f0b24de212604b2308dc6e6cc939a.zip
Clarify memory allocation error diagnostics to avoid confusion
Diffstat (limited to 'malloc')
-rw-r--r--malloc/malloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index ca1d73f875..892bc64342 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)