summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-19 02:01:27 +0200
committerKarolin Seeger <kseeger@samba.org>2009-05-26 09:39:42 +0200
commite66c3e5e56f28118cb351322b79cf0334f7af337 (patch)
tree2fddaaed154d21fe212810f025fb6c45f7459d93 /source4
parenta247b7d3df9bb8684ddaf3ae00e1d36f2db39fd6 (diff)
downloadsamba-e66c3e5e56f28118cb351322b79cf0334f7af337.tar.gz
s4-smbtorture: Fix build warning in RPC-SAMR tests.
Guenther (cherry picked from commit 518666102367ce21782cb0f597c136ac125cef05) (cherry picked from commit e14d0a1b3b4875db08d967131efb4e300d22bc12)
Diffstat (limited to 'source4')
-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 080f8e40309..4ee634b2097 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",