From: Peter Jones Date: Wed, 11 Jun 2008 21:46:38 +0000 (-0400) Subject: Log the dlerror, don't just call it for no reason. X-Git-Tag: 0.3.2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7ac6f80da9c6ca26d749bc9332ba14add7d714d;p=thirdparty%2Fplymouth.git Log the dlerror, don't just call it for no reason. --- diff --git a/src/libply/ply-utils.c b/src/libply/ply-utils.c index 9a0e83e2..d64c8ba7 100644 --- a/src/libply/ply-utils.c +++ b/src/libply/ply-utils.c @@ -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; }