aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/dyn_load/dyn_load.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/dyn_load/dyn_load.cpp')
-rw-r--r--src/lib/utils/dyn_load/dyn_load.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/dyn_load/dyn_load.cpp b/src/lib/utils/dyn_load/dyn_load.cpp
index 2cacf7c46..33288b8d1 100644
--- a/src/lib/utils/dyn_load/dyn_load.cpp
+++ b/src/lib/utils/dyn_load/dyn_load.cpp
@@ -37,7 +37,7 @@ Dynamically_Loaded_Library::Dynamically_Loaded_Library(
m_lib = ::dlopen(m_lib_name.c_str(), RTLD_LAZY);
if(!m_lib)
- raise_runtime_loader_exception(m_lib_name, dlerror());
+ raise_runtime_loader_exception(m_lib_name, ::dlerror());
#elif defined(BOTAN_TARGET_OS_HAS_LOADLIBRARY)
m_lib = ::LoadLibraryA(m_lib_name.c_str());