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
This commit is contained in:
Steven Dake 2007-09-09 06:50:18 +00:00
parent 73d4db719d
commit 2551a393c4

View File

@ -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);