summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-22 19:17:13 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-22 19:17:13 +0100
commitb682b0feb0af40656cd1b71a859cb1f23edcbcf5 (patch)
treea7a64c3e9de24307119749f0bcbf272964e41945 /source4
parent07f296b03db6253e22fdc86fe7e858d58638bc1a (diff)
downloadsamba-b682b0feb0af40656cd1b71a859cb1f23edcbcf5.tar.gz
samba-b682b0feb0af40656cd1b71a859cb1f23edcbcf5.tar.bz2
samba-b682b0feb0af40656cd1b71a859cb1f23edcbcf5.zip
Fix function name in error message when failing to load module.
Diffstat (limited to 'source4')
-rw-r--r--source4/param/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/param/util.c b/source4/param/util.c
index ec192939d0..92728d505a 100644
--- a/source4/param/util.c
+++ b/source4/param/util.c
@@ -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;