]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Log the dlerror, don't just call it for no reason.
authorPeter Jones <pjones@redhat.com>
Wed, 11 Jun 2008 21:46:38 +0000 (17:46 -0400)
committerPeter Jones <pjones@vroomfondel.internal.datastacks.com>
Thu, 12 Jun 2008 17:17:49 +0000 (13:17 -0400)
src/libply/ply-utils.c

index 9a0e83e21ac2daf2c782781c654cce47ed223351..d64c8ba743530c50d7c2bb8c99abc67f0b6d78b1 100644 (file)
@@ -664,7 +664,7 @@ ply_open_module (const char *module_path)
 
   if (handle == NULL)
     {
-      dlerror ();
+      ply_trace("Could not load module \"%s\": %s\n", module_path, dlerror());
       if (errno == 0)
         errno = ELIBACC;
     }