From 3487d6d78ff3bd469ff2069f2f4a18031ea4262f Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Sat, 12 Dec 2015 00:15:45 +0100 Subject: [PATCH] werror: replace WERR_RPC_E_REMOTE_DISABLED with HRES_RPC_E_REMOTE_DISABLED Guenther Signed-off-by: Guenther Deschner Reviewed-by: Jeremy Allison --- source4/torture/rpc/wkssvc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c index e19523f172e7..aebabac8d1e5 100644 --- a/source4/torture/rpc/wkssvc.c +++ b/source4/torture/rpc/wkssvc.c @@ -653,7 +653,7 @@ static bool test_NetrValidateName2(struct torture_context *tctx, torture_assert_ntstatus_ok(tctx, status, "NetrValidateName2 failed"); torture_assert_werr_equal(tctx, r.out.result, - WERR_RPC_E_REMOTE_DISABLED, + W_ERROR(HRES_ERROR_V(HRES_RPC_E_REMOTE_DISABLED)), "NetrValidateName2 failed"); } @@ -1113,7 +1113,7 @@ static bool test_NetrGetJoinableOus2(struct torture_context *tctx, status = dcerpc_wkssvc_NetrGetJoinableOus2_r(b, tctx, &r); torture_assert_ntstatus_ok(tctx, status, "NetrGetJoinableOus2 failed"); torture_assert_werr_equal(tctx, r.out.result, - WERR_RPC_E_REMOTE_DISABLED, + W_ERROR(HRES_ERROR_V(HRES_RPC_E_REMOTE_DISABLED)), "NetrGetJoinableOus2 failed"); return true; -- 2.34.1