]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Fix function name in error message when failing to load module.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 22 Dec 2008 18:17:13 +0000 (19:17 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 22 Dec 2008 18:17:13 +0000 (19:17 +0100)
source4/param/util.c

index ec192939d0a1933d78379211747b1e682c458a1b..92728d505a832f5df63ed6e7ede2e91443617551 100644 (file)
@@ -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;