diff options
-rw-r--r-- | source3/lib/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/module.c b/source3/lib/module.c index 0953f53ad3..f05a68b493 100644 --- a/source3/lib/module.c +++ b/source3/lib/module.c @@ -32,7 +32,7 @@ NTSTATUS smb_load_module(const char *module_name) * backwards compatibility, there might be symbols in the * plugin referencing to old (removed) functions */ - handle = dlopen(module_name, RTLD_LAZY); + handle = sys_dlopen(module_name, RTLD_LAZY); if(!handle) { DEBUG(0, ("Error loading module '%s': %s\n", module_name, sys_dlerror())); |