r24735: Use torture API in more places.
[samba.git] / source4 / torture / rpc / bench.c
index 6e3ee1c421411a96389184bb2ec7c2d53b3340be..48fd0609f005a10796b89f5f26b23366585f9159 100644 (file)
@@ -103,7 +103,7 @@ BOOL torture_bench_rpc(struct torture_context *torture)
 
        mem_ctx = talloc_init("torture_rpc_srvsvc");
 
-       status = torture_rpc_connection(mem_ctx
+       status = torture_rpc_connection(torture
                                        &p,
                                        &ndr_table_srvsvc);
        if (!NT_STATUS_IS_OK(status)) {