summaryrefslogtreecommitdiff
path: root/lib/util/internal_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/internal_module.c')
-rw-r--r--lib/util/internal_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/internal_module.c b/lib/util/internal_module.c
index b5156fd9e2..a10d1f3a3b 100644
--- a/lib/util/internal_module.c
+++ b/lib/util/internal_module.c
@@ -57,7 +57,7 @@ samba_module_init_fn load_module(const char *path, bool is_probe, void **handle_
return NULL;
}
- init_fn = (samba_module_init_fn)dlsym(handle, SAMBA_INIT_MODULE);
+ init_fn = (samba_module_init_fn)dlsym(handle, SAMBA_MODULE_INIT);
/* we could check dlerror() to determine if it worked, because
dlsym() can validly return NULL, but what would we do with
@@ -65,7 +65,7 @@ samba_module_init_fn load_module(const char *path, bool is_probe, void **handle_
if (init_fn == NULL) {
DEBUG(0, ("Unable to find %s() in %s: %s\n",
- SAMBA_INIT_MODULE, path, dlerror()));
+ SAMBA_MODULE_INIT, path, dlerror()));
DEBUG(1, ("Loading module '%s' failed\n", path));
dlclose(handle);
return NULL;