]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Print the reason why preloading failed in do_preload()
authorMichael Stahl <mstahl@redhat.com>
Sun, 20 Oct 2013 08:34:09 +0000 (10:34 +0200)
committerOndřej Bílka <neleai@seznam.cz>
Sun, 20 Oct 2013 08:34:09 +0000 (10:34 +0200)
ChangeLog
elf/rtld.c

index 0cb5ada9d7f14afc2d85be451ce7925bc110bb69..860531064ffb5ea6da9c9ee2c1d5038e9fcaf499 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        BZ #10278]
index 91da88cdd13f0907258fbfc01ba965a6a3fe6e33..51682f2177b24236c53b17efbb9968f8da05e8e0 100644 (file)
@@ -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.  */
     }