From: Günther Deschner Date: Tue, 19 May 2009 00:01:27 +0000 (+0200) Subject: s4-smbtorture: Fix build warning in RPC-SAMR tests. X-Git-Tag: tdb-1.1.5~487 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=518666102367ce21782cb0f597c136ac125cef05;p=thirdparty%2Fsamba.git s4-smbtorture: Fix build warning in RPC-SAMR tests. Guenther --- diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index 4037e6b11c5..f853195bbe2 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",