s4-smbtorture: Fix wrong comment in RPC-LSA-TRUSTED-DOMAIN test.
authorGünther Deschner <gd@samba.org>
Tue, 20 Oct 2009 13:09:32 +0000 (15:09 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 20 Oct 2009 19:59:54 +0000 (21:59 +0200)
Guenther
(cherry picked from commit 7e180101d3a460d30da7b5043034ef306913b2d1)

source4/torture/rpc/lsa.c

index 7305a31960465ac1d9b9179d9a0302822c1ce9c7..0271fe73c5c367c72e8a22b1924751499569bc52 100644 (file)
@@ -2188,7 +2188,7 @@ static bool test_CreateTrustedDomain(struct dcerpc_pipe *p,
                        q.out.info = &info;
                        status = dcerpc_lsa_QueryTrustedDomainInfo(p, tctx, &q);
                        if (!NT_STATUS_IS_OK(status)) {
-                               torture_comment(tctx, "QueryTrustedDomainInfo level 1 failed - %s\n", nt_errstr(status));
+                               torture_comment(tctx, "QueryTrustedDomainInfo level %d failed - %s\n", q.in.level, nt_errstr(status));
                                ret = false;
                        } else if (!q.out.info) {
                                ret = false;