summaryrefslogtreecommitdiff
path: root/source4/torture/ndr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2015-12-03 15:24:27 +0100
committerJeremy Allison <jra@samba.org>2016-09-28 00:04:23 +0200
commit37853aef42779c5aaa9aa2015bff0eb62ec2840c (patch)
tree5a5aa1a500bb90eae4ebe13925791949a7dabcc3 /source4/torture/ndr
parent160d5c40a699f8f63027160e4ac270d552846464 (diff)
downloadsamba-37853aef42779c5aaa9aa2015bff0eb62ec2840c.tar.gz
werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source4/torture/
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/ndr')
-rw-r--r--source4/torture/ndr/winreg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/ndr/winreg.c b/source4/torture/ndr/winreg.c
index 0eb1a2487ce..4eaff8d21cb 100644
--- a/source4/torture/ndr/winreg.c
+++ b/source4/torture/ndr/winreg.c
@@ -113,7 +113,7 @@ static bool createkey_out_check(struct torture_context *tctx,
{
torture_assert(tctx, GUID_all_zero(&r->out.new_handle->uuid), "new_handle");
torture_assert(tctx, r->out.action_taken == NULL, "action_taken pointer");
- torture_assert_werr_equal(tctx, r->out.result, WERR_INVALID_PARAM,
+ torture_assert_werr_equal(tctx, r->out.result, WERR_INVALID_PARAMETER,
"return code");
return true;
@@ -487,7 +487,7 @@ static const uint8_t notifychangekeyvalue_out_data[] = {
static bool notifychangekeyvalue_out_check(struct torture_context *tctx, struct winreg_NotifyChangeKeyValue *r)
{
- torture_assert_werr_equal(tctx, r->out.result, WERR_INVALID_PARAM, "notify change key value");
+ torture_assert_werr_equal(tctx, r->out.result, WERR_INVALID_PARAMETER, "notify change key value");
return true;
}