summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-05-01 12:35:28 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-08 02:57:07 +0200
commit27efeabab47694cb2f147d4c964c62213cc03fef (patch)
tree404c6cdc82d16bf3e6121991e941487bd82bf757 /source4
parent75494f75fa27ded7b9d3c8c7342c8aa682c2949b (diff)
downloadsamba-27efeabab47694cb2f147d4c964c62213cc03fef.tar.gz
samba-27efeabab47694cb2f147d4c964c62213cc03fef.tar.bz2
samba-27efeabab47694cb2f147d4c964c62213cc03fef.zip
s4:torture/raw/context: pass tctx to test_pid_exit_only_sees_open()
metze
Diffstat (limited to 'source4')
-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;