From 8727b1ffe944c845013548c94e919c6b200c08ea Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Wed, 9 Sep 2009 16:03:37 +0200 Subject: made ABRTPlugin more verbose --- src/Daemon/ABRTPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); \ -- cgit