summaryrefslogtreecommitdiffstats
path: root/source/utils/smbtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/utils/smbtree.c')
-rw-r--r--source/utils/smbtree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/utils/smbtree.c b/source/utils/smbtree.c
index d7842d1e029..857b858beca 100644
--- a/source/utils/smbtree.c
+++ b/source/utils/smbtree.c
@@ -327,7 +327,6 @@ static BOOL print_tree(struct user_auth_info *user_info)
extern int optind;
int opt;
char *p;
- pstring servicesf = CONFIGFILE;
struct user_auth_info user_info;
BOOL got_pass = False;
@@ -341,7 +340,7 @@ static BOOL print_tree(struct user_auth_info *user_info)
TimeInit();
- lp_load(servicesf,True,False,False);
+ lp_load(dyn_CONFIGFILE,True,False,False);
load_interfaces();
if (getenv("USER")) {