diff options
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index ebf49726a2..a7fc416d5b 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1728,7 +1728,7 @@ bool lp_add_home(const char *pszHomename, int iDefaultService, if (!(*(ServicePtrs[iDefaultService]->pathname)) || strequal(ServicePtrs[iDefaultService]->pathname, - lp_pathname(talloc_tos(), GLOBAL_SECTION_SNUM))) { + lp_path(talloc_tos(), GLOBAL_SECTION_SNUM))) { string_set(&ServicePtrs[i]->pathname, pszHomedir); } |