summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/winbindd.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/winbindd.c')
-rw-r--r--source3/winbindd/winbindd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index a22c6b796d8..cfb2f06e08d 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -96,7 +96,7 @@ static bool reload_services_file(const char *lfile)
bool ret;
if (lp_loaded()) {
- char *fname = lp_configfile(talloc_tos());
+ char *fname = lp_next_configfile(talloc_tos());
if (file_exist(fname) && !strcsequal(fname,get_dyn_CONFIGFILE())) {
set_dyn_CONFIGFILE(fname);