summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/share_classic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/share_classic.c b/source4/param/share_classic.c
index 50b05f322e9..7cf04f9efd1 100644
--- a/source4/param/share_classic.c
+++ b/source4/param/share_classic.c
@@ -76,7 +76,7 @@ static const char *sclassic_string_option(struct share_config *scfg,
}
if (strcmp(opt_name, SHARE_PATH) == 0) {
- return lpcfg_pathname(s, lpcfg_default_service(lp_ctx));
+ return lpcfg_path(s, lpcfg_default_service(lp_ctx));
}
if (strcmp(opt_name, SHARE_COMMENT) == 0) {