mirror of git://sourceware.org/git/glibc.git
Print the reason why preloading failed in do_preload()
This commit is contained in:
parent
a471e96a53
commit
4db5b08f91
|
@ -1,3 +1,7 @@
|
||||||
|
2013-10-19 Michael Stahl <mstahl@redhat.com>
|
||||||
|
|
||||||
|
* elf/rtld.c (do_preload): Print the reason why preloading failed.
|
||||||
|
|
||||||
2013-10-19 Ondřej Bílka <neleai@seznam.cz>
|
2013-10-19 Ondřej Bílka <neleai@seznam.cz>
|
||||||
|
|
||||||
BZ #10278]
|
BZ #10278]
|
||||||
|
|
|
@ -816,8 +816,8 @@ do_preload (char *fname, struct link_map *main_map, const char *where)
|
||||||
if (__builtin_expect (err_str != NULL, 0))
|
if (__builtin_expect (err_str != NULL, 0))
|
||||||
{
|
{
|
||||||
_dl_error_printf ("\
|
_dl_error_printf ("\
|
||||||
ERROR: ld.so: object '%s' from %s cannot be preloaded: ignored.\n",
|
ERROR: ld.so: object '%s' from %s cannot be preloaded (%s): ignored.\n",
|
||||||
fname, where);
|
fname, where, err_str);
|
||||||
/* No need to call free, this is still before
|
/* No need to call free, this is still before
|
||||||
the libc's malloc is used. */
|
the libc's malloc is used. */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue