summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/join.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/rpc/join.c')
-rw-r--r--source4/torture/rpc/join.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/join.c b/source4/torture/rpc/join.c
index cd5eb32fa8..77da32d572 100644
--- a/source4/torture/rpc/join.c
+++ b/source4/torture/rpc/join.c
@@ -48,7 +48,7 @@ bool torture_rpc_join(struct torture_context *torture)
smbcli_tdis(cli);
/* Leave domain. */
- torture_leave_domain(tj);
+ torture_leave_domain(torture, tj);
/* Join domain as a domain controller. */
tj = torture_join_domain(torture, TORTURE_NETBIOS_NAME,
@@ -75,7 +75,7 @@ bool torture_rpc_join(struct torture_context *torture)
smbcli_tdis(cli);
/* Leave domain. */
- torture_leave_domain(tj);
+ torture_leave_domain(torture, tj);
return true;
}