mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-03-30 12:05:40 +02:00
Update module.cpp
This commit is contained in:
parent
800a8b22c7
commit
13a268a3e1
@ -33,7 +33,7 @@ ModuleManager::Module_t ModuleManager::loadModule(std::string path) {
|
|||||||
#else
|
#else
|
||||||
mod.handle = dlopen(path.c_str(), RTLD_LAZY | RTLD_LOCAL);
|
mod.handle = dlopen(path.c_str(), RTLD_LAZY | RTLD_LOCAL);
|
||||||
if (mod.handle == NULL) {
|
if (mod.handle == NULL) {
|
||||||
flog::error("Couldn't load {0}.", path);
|
flog::error("Couldn't load {0}: {1}", path, dlerror());
|
||||||
mod.handle = NULL;
|
mod.handle = NULL;
|
||||||
return mod;
|
return mod;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user