summaryrefslogtreecommitdiff
path: root/source3/torture/locktest.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/locktest.c')
-rw-r--r--source3/torture/locktest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c
index c3c0ce6380..e5189c44f2 100644
--- a/source3/torture/locktest.c
+++ b/source3/torture/locktest.c
@@ -242,8 +242,8 @@ static struct cli_state *connect_one(char *share, int snum)
DEBUG(4,(" session setup ok\n"));
- status = cli_tcon_andx(c, share, "?????", password[snum],
- strlen(password[snum])+1);
+ status = cli_tree_connect(c, share, "?????", password[snum],
+ strlen(password[snum])+1);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("tree connect failed: %s\n", nt_errstr(status)));
cli_shutdown(c);