From 2c1075d63b10f7ec5e80e665c33d5642ff407e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Thu, 3 Dec 2015 15:24:12 +0100 Subject: werror: replace WERR_BADFILE with WERR_FILE_NOT_FOUND in source4/torture/ndr/winreg.c Guenther Signed-off-by: Guenther Deschner Reviewed-by: Jeremy Allison --- source4/torture/ndr/winreg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/ndr') diff --git a/source4/torture/ndr/winreg.c b/source4/torture/ndr/winreg.c index d77cdb33db1..0eb1a2487ce 100644 --- a/source4/torture/ndr/winreg.c +++ b/source4/torture/ndr/winreg.c @@ -376,7 +376,7 @@ static const uint8_t openkey_out_data[] = { static bool openkey_out_check(struct torture_context *tctx, struct winreg_OpenKey *r) { torture_assert(tctx, GUID_all_zero(&r->out.handle->uuid), "handle"); - torture_assert_werr_equal(tctx, r->out.result, WERR_BADFILE, "return code"); + torture_assert_werr_equal(tctx, r->out.result, WERR_FILE_NOT_FOUND, "return code"); return true; } @@ -402,7 +402,7 @@ static const uint8_t deletekey_out_data[] = { static bool deletekey_out_check(struct torture_context *tctx, struct winreg_DeleteKey *r) { - torture_assert_werr_equal(tctx, r->out.result, WERR_BADFILE, "return code"); + torture_assert_werr_equal(tctx, r->out.result, WERR_FILE_NOT_FOUND, "return code"); return true; } -- cgit v1.2.1