s4-smbtorture: Fix build warning in RPC-SAMR tests.
authorGünther Deschner <gd@samba.org>
Tue, 19 May 2009 00:01:27 +0000 (02:01 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 19 May 2009 00:05:25 +0000 (02:05 +0200)
Guenther

source4/torture/rpc/samr.c

index 4037e6b11c50189ebac202e9983662e99d246bed..f853195bbe29e7df5dac14a23fb02ccdfc8d440d 100644 (file)
@@ -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",