From 86eb0a25b1df8ca25872f9846a74d0f13a4ad045 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 30 Oct 2002 17:50:36 +0000 Subject: [PATCH] use sys_dlopen instead of dlopen (thanks to jra for noticing) --- source/lib/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/module.c b/source/lib/module.c index 0953f53ad3e..f05a68b493c 100644 --- a/source/lib/module.c +++ b/source/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()));