From: Jelmer Vernooij Date: Mon, 22 Dec 2008 18:17:13 +0000 (+0100) Subject: Fix function name in error message when failing to load module. X-Git-Tag: samba-4.0.0alpha6~415 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b682b0feb0af40656cd1b71a859cb1f23edcbcf5;p=thirdparty%2Fsamba.git Fix function name in error message when failing to load module. --- diff --git a/source4/param/util.c b/source4/param/util.c index ec192939d0a..92728d505a8 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;