From 27efeabab47694cb2f147d4c964c62213cc03fef Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 1 May 2012 12:35:28 +0200 Subject: s4:torture/raw/context: pass tctx to test_pid_exit_only_sees_open() metze --- source4/torture/raw/context.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c index 45e7482057..447a7f32c9 100644 --- a/source4/torture/raw/context.c +++ b/source4/torture/raw/context.c @@ -523,9 +523,11 @@ done: this test demonstrates that exit() only sees the PID used for the open() calls */ -static bool test_pid_exit_only_sees_open(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) +static bool test_pid_exit_only_sees_open(struct smbcli_state *cli, + struct torture_context *tctx) { NTSTATUS status; + TALLOC_CTX *mem_ctx = tctx; bool ret = true; union smb_open io; union smb_write wr; -- cgit