summaryrefslogtreecommitdiff
path: root/source3/torture/vfstest.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-09-18 04:16:56 +0200
committerIra Cooper <ira@samba.org>2015-04-22 13:57:30 +0200
commit31392f6df693e6685dcf2d4cb0de3e4fb1e9276e (patch)
treed786dca19c0c29292427f13d16f5a5035b5ea864 /source3/torture/vfstest.c
parent7af9d238b5f36a48a7f1fe42f18837af817f41bd (diff)
downloadsamba-31392f6df693e6685dcf2d4cb0de3e4fb1e9276e.tar.gz
vfstest: use lp_load_with_shares() in cmd_conf
Note this calls lp_load slightly differently. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
Diffstat (limited to 'source3/torture/vfstest.c')
-rw-r--r--source3/torture/vfstest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c
index 2cca2a4f1f9..b6ef2f2e438 100644
--- a/source3/torture/vfstest.c
+++ b/source3/torture/vfstest.c
@@ -127,7 +127,7 @@ static NTSTATUS cmd_conf(struct vfs_state *vfs, TALLOC_CTX *mem_ctx,
return NT_STATUS_OK;
}
- if (!lp_load(argv[1], False, True, False, True)) {
+ if (!lp_load_with_shares(argv[1])) {
printf("Error loading \"%s\"\n", argv[1]);
return NT_STATUS_OK;
}