summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source3/lib/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/module.c b/source3/lib/module.c
index 2e56e8e8b96..76983387ffd 100644
--- a/source3/lib/module.c
+++ b/source3/lib/module.c
@@ -118,7 +118,7 @@ NTSTATUS smb_probe_module(const char *subsystem, const char *module)
full_path = talloc_asprintf(ctx,
"%s/%s.%s",
- lib_path(subsystem),
+ modules_path(subsystem),
module,
shlib_ext());
if (!full_path) {