1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Clarify memory allocation error diagnostics to avoid confusion

This commit is contained in:
Dmitry V. Levin
2009-09-13 19:45:27 +00:00
parent 0569936773
commit bb9510dc34
3 changed files with 12 additions and 8 deletions

View File

@ -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)