summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/torture/test_smb2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/test_smb2.c b/source3/torture/test_smb2.c
index 940f3a69e1..5e0f24cb51 100644
--- a/source3/torture/test_smb2.c
+++ b/source3/torture/test_smb2.c
@@ -61,9 +61,9 @@ bool run_smb2_basic(int dummy)
return false;
}
- status = smb2cli_tcon(cli, share);
+ status = cli_tree_connect(cli, share, "?????", "", 0);
if (!NT_STATUS_IS_OK(status)) {
- printf("smb2cli_tcon returned %s\n", nt_errstr(status));
+ printf("cli_tree_connect returned %s\n", nt_errstr(status));
return false;
}