From b682b0feb0af40656cd1b71a859cb1f23edcbcf5 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 22 Dec 2008 19:17:13 +0100 Subject: Fix function name in error message when failing to load module. --- source4/param/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit