From 78d9a1eed90fb60aa4ccd57744e01e8ab7a2736e Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Thu, 3 Dec 2015 15:24:21 +0100 Subject: [PATCH] werror: replace WERR_GENERAL_FAILURE with WERR_GEN_FAILURE in source4/lib/com/ Guenther Signed-off-by: Guenther Deschner Reviewed-by: Jeremy Allison --- source4/lib/com/dcom/main.c | 2 +- source4/lib/com/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/lib/com/dcom/main.c b/source4/lib/com/dcom/main.c index a652678e5c3..088d7fe2967 100644 --- a/source4/lib/com/dcom/main.c +++ b/source4/lib/com/dcom/main.c @@ -329,7 +329,7 @@ WERROR dcom_create_object(struct com_context *ctx, struct GUID *clsid, const cha if (!m->rem_unknown) { if (!ru_template) { DEBUG(1,("dcom_create_object: Cannot Create IRemUnknown - template interface not available\n")); - hr = WERR_GENERAL_FAILURE; + hr = WERR_GEN_FAILURE; } m->rem_unknown = talloc_zero(m, struct IRemUnknown); memcpy(m->rem_unknown, ru_template, sizeof(struct IUnknown)); diff --git a/source4/lib/com/main.c b/source4/lib/com/main.c index e67051bb817..e7f4458f08d 100644 --- a/source4/lib/com/main.c +++ b/source4/lib/com/main.c @@ -60,7 +60,7 @@ WERROR com_create_object(struct com_context *ctx, struct GUID *clsid, int num_if if (!iunk) { DEBUG(0, ("IClassFactory_CreateInstance returned success but result pointer is still NULL!\n")); - return WERR_GENERAL_FAILURE; + return WERR_GEN_FAILURE; } /* Release class object */ -- 2.11.4.GIT