summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/raw/context.c4
1 files changed, 3 insertions, 1 deletions
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;