From ae004573eeeae66aad98c43bd984328cdfeb3654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Thu, 3 Dec 2015 15:24:29 +0100 Subject: [PATCH] werror: replace WERR_REG_FILE_INVALID with WERR_NOT_REGISTRY_FILE in source3/registry/reg_api_regf.c Guenther Signed-off-by: Guenther Deschner Reviewed-by: Jeremy Allison --- source3/registry/reg_api_regf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/registry/reg_api_regf.c b/source3/registry/reg_api_regf.c index ea6371f452d..16a3fada0f3 100644 --- a/source3/registry/reg_api_regf.c +++ b/source3/registry/reg_api_regf.c @@ -148,7 +148,7 @@ static WERROR restore_registry_key(struct registry_key_handle *krecord, if (!(rootkey = regfio_rootkey(regfile))) { regfio_close(regfile); - return WERR_REG_FILE_INVALID; + return WERR_NOT_REGISTRY_FILE; } result = reg_load_tree(regfile, krecord->name, rootkey);