diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2009-09-13 19:45:27 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2012-10-02 16:09:30 +0000 |
commit | bb9510dc345f0b24de212604b2308dc6e6cc939a (patch) | |
tree | 891d99c626b90c113210c7e88e28caca1c46fefa /malloc | |
parent | 0569936773c861c791f10bba5e2f4cac5fbb4e78 (diff) | |
download | glibc-bb9510dc345f0b24de212604b2308dc6e6cc939a.tar.gz glibc-bb9510dc345f0b24de212604b2308dc6e6cc939a.tar.xz glibc-bb9510dc345f0b24de212604b2308dc6e6cc939a.zip |
Clarify memory allocation error diagnostics to avoid confusion
Diffstat (limited to 'malloc')
-rw-r--r-- | malloc/malloc.c | 3 |
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) |