1
0
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:
Jelmer Vernooij 2008-12-22 19:17:13 +01:00
parent 07f296b03d
commit b682b0feb0

View File

@ -185,7 +185,8 @@ init_module_fn load_module(TALLOC_CTX *mem_ctx, const char *path)
init_fn = dlsym(handle, SAMBA_INIT_MODULE); init_fn = dlsym(handle, SAMBA_INIT_MODULE);
if (init_fn == NULL) { 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)); DEBUG(1, ("Loading module '%s' failed\n", path));
dlclose(handle); dlclose(handle);
return NULL; return NULL;