summaryrefslogtreecommitdiff
path: root/source4/client/smbmount.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/client/smbmount.c')
-rw-r--r--source4/client/smbmount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/client/smbmount.c b/source4/client/smbmount.c
index 7bd42b84cf..9d505be4a6 100644
--- a/source4/client/smbmount.c
+++ b/source4/client/smbmount.c
@@ -893,7 +893,7 @@ static void parse_mount_smb(int argc, char **argv)
pstrcpy(username,getenv("LOGNAME"));
}
- if (!lp_load()) {
+ if (!lp_load(dyn_CONFIGFILE)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n",
lp_config_file());
}