summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Daemon/ABRTPlugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Daemon/ABRTPlugin.cpp b/src/Daemon/ABRTPlugin.cpp
index e3f5fb8..9276166 100644
--- a/src/Daemon/ABRTPlugin.cpp
+++ b/src/Daemon/ABRTPlugin.cpp
@@ -28,7 +28,7 @@ CABRTPlugin::CABRTPlugin(const char* pLibPath)
/* All errors are fatal */
m_pHandle = dlopen(pLibPath, RTLD_NOW);
if (!m_pHandle)
- error_msg_and_die("can't load '%s'", pLibPath);
+ error_msg_and_die("can't load '%s': %s", pLibPath, dlerror());
#define LOADSYM(fp, handle, name) do { \
fp = (typeof(fp)) (dlsym(handle, name)); \