From 2551a393c4574d6a4f7de8c615c6db821ebc830f Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Sun, 9 Sep 2007 06:50:18 +0000 Subject: [PATCH] Provide information as to why a plugin refused to load git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1438 fd59a12c-fef9-0310-b244-a6a79926bd2f --- lcr/lcr_ifact.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lcr/lcr_ifact.c b/lcr/lcr_ifact.c index 2267b7ff..26976685 100644 --- a/lcr/lcr_ifact.c +++ b/lcr/lcr_ifact.c @@ -373,6 +373,8 @@ static int interface_find_and_load ( } dl_handle = dlopen (dl_name, RTLD_LAZY); if (dl_handle == NULL) { + fprintf(stderr, "%s: open failed: %s\n", + dl_name, dlerror()); continue; } instance = lcr_comp_find (iface_name, version, iface_number);