From 6e41be1862c22fc8645d112e8433c71fdd200aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Thu, 3 Dec 2015 15:24:28 +0100 Subject: [PATCH] werror: replace WERR_REG_CORRUPT with WERR_REGISTRY_CORRUPT in source3/printing/nt_printing_ads.c Guenther Signed-off-by: Guenther Deschner Reviewed-by: Jeremy Allison --- source3/printing/nt_printing_ads.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/printing/nt_printing_ads.c b/source3/printing/nt_printing_ads.c index ac77c295102..290d14dc6c7 100644 --- a/source3/printing/nt_printing_ads.c +++ b/source3/printing/nt_printing_ads.c @@ -306,7 +306,7 @@ WERROR nt_printer_guid_get(TALLOC_CTX *mem_ctx, if (!ok) { DEBUG(0, ("Failed to unmarshall GUID for printer %s\n", printer)); - result = WERR_REG_CORRUPT; + result = WERR_REGISTRY_CORRUPT; goto out_ctx_free; } status = GUID_from_string(guid_str, guid); @@ -320,14 +320,14 @@ WERROR nt_printer_guid_get(TALLOC_CTX *mem_ctx, case REG_BINARY: if (blob.length != sizeof(struct GUID)) { DEBUG(0, ("bad GUID for printer %s\n", printer)); - result = WERR_REG_CORRUPT; + result = WERR_REGISTRY_CORRUPT; goto out_ctx_free; } memcpy(guid, blob.data, sizeof(struct GUID)); break; default: DEBUG(0,("GUID value stored as invalid type (%d)\n", type)); - result = WERR_REG_CORRUPT; + result = WERR_REGISTRY_CORRUPT; goto out_ctx_free; break; }