mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
Fix function name in error message when failing to load module.
This commit is contained in:
parent
07f296b03d
commit
b682b0feb0
@ -185,7 +185,8 @@ init_module_fn load_module(TALLOC_CTX *mem_ctx, const char *path)
|
||||
init_fn = dlsym(handle, SAMBA_INIT_MODULE);
|
||||
|
||||
if (init_fn == NULL) {
|
||||
DEBUG(0, ("Unable to find init_module() in %s: %s\n", path, dlerror()));
|
||||
DEBUG(0, ("Unable to find %s() in %s: %s\n",
|
||||
SAMBA_INIT_MODULE, path, dlerror()));
|
||||
DEBUG(1, ("Loading module '%s' failed\n", path));
|
||||
dlclose(handle);
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user