summaryrefslogtreecommitdiff
path: root/media/pluginManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'media/pluginManager.cpp')
-rw-r--r--media/pluginManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/pluginManager.cpp b/media/pluginManager.cpp
index 9c4cafd..280f0c9 100644
--- a/media/pluginManager.cpp
+++ b/media/pluginManager.cpp
@@ -323,7 +323,7 @@ bool upnp::cPluginManager::DLL::Load(){
if(handle)
return true;
- handle = dlopen(file.c_str(), RTLD_NOW);
+ handle = dlopen(file.c_str(), RTLD_LAZY);
const char* error = dlerror();
if(!error){
@@ -343,7 +343,7 @@ bool upnp::cPluginManager::DLL::Load(){
cerr << error << endl;
}
} else {
- cerr << error << endl;
+ cerr << "Error while opening plugin: " << error << endl;
}
return false;