diff options
Diffstat (limited to 'source4/client/smbmount.c')
-rw-r--r-- | source4/client/smbmount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/client/smbmount.c b/source4/client/smbmount.c index 77cd04c3c3..b2e6b9677f 100644 --- a/source4/client/smbmount.c +++ b/source4/client/smbmount.c @@ -894,9 +894,9 @@ static void parse_mount_smb(int argc, char **argv) pstrcpy(username,getenv("LOGNAME")); } - if (!lp_load(dyn_CONFIGFILE)) { + if (!lp_load()) { fprintf(stderr, "Can't load %s - run testparm to debug it\n", - dyn_CONFIGFILE); + lp_config_file()); } parse_mount_smb(argc, argv); |