From: Michael Stahl Date: Sun, 20 Oct 2013 08:34:09 +0000 (+0200) Subject: Print the reason why preloading failed in do_preload() X-Git-Tag: glibc-2.19~582 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4db5b08f91800061af64a296cb4eeaaf8adb0aac;p=thirdparty%2Fglibc.git Print the reason why preloading failed in do_preload() --- diff --git a/ChangeLog b/ChangeLog index 0cb5ada9d7f..860531064ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-10-19 Michael Stahl + + * elf/rtld.c (do_preload): Print the reason why preloading failed. + 2013-10-19 Ondřej Bílka BZ #10278] diff --git a/elf/rtld.c b/elf/rtld.c index 91da88cdd13..51682f2177b 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -816,8 +816,8 @@ do_preload (char *fname, struct link_map *main_map, const char *where) if (__builtin_expect (err_str != NULL, 0)) { _dl_error_printf ("\ -ERROR: ld.so: object '%s' from %s cannot be preloaded: ignored.\n", - fname, where); +ERROR: ld.so: object '%s' from %s cannot be preloaded (%s): ignored.\n", + fname, where, err_str); /* No need to call free, this is still before the libc's malloc is used. */ }