summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-19 02:01:27 +0200
committerGünther Deschner <gd@samba.org>2009-05-19 02:05:25 +0200
commit518666102367ce21782cb0f597c136ac125cef05 (patch)
tree89de3b4d9b8d646810baf49e6fc3a2d3f430d351 /source4/torture
parentd7142fb1b56073ca0d078d0214f70c2c77186fce (diff)
downloadsamba-518666102367ce21782cb0f597c136ac125cef05.tar.gz
samba-518666102367ce21782cb0f597c136ac125cef05.tar.bz2
samba-518666102367ce21782cb0f597c136ac125cef05.zip
s4-smbtorture: Fix build warning in RPC-SAMR tests.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/samr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index 4037e6b11c..f853195bbe 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -6450,9 +6450,9 @@ static bool torture_rpc_samr_pwdlastset(struct torture_context *torture,
return ret;
}
-struct torture_suite *torture_rpc_samr_passwords_pwdlastset(struct torture_context *tctx)
+struct torture_suite *torture_rpc_samr_passwords_pwdlastset(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(tctx, "SAMR-PASSWORDS-PWDLASTSET");
+ struct torture_suite *suite = torture_suite_create(nmem_ctx, "SAMR-PASSWORDS-PWDLASTSET");
struct torture_rpc_tcase *tcase;
tcase = torture_suite_add_machine_rpc_iface_tcase(suite, "samr",