diff options
author | Günther Deschner <gd@samba.org> | 2015-12-03 15:24:29 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-09-28 00:04:24 +0200 |
commit | ae004573eeeae66aad98c43bd984328cdfeb3654 (patch) | |
tree | 14d83dfddb6b4cfcd0383d92e5ea4cf83228612a /source3/registry | |
parent | d83233825c26594aac0679b78dccd495a11a6cd8 (diff) | |
download | samba-ae004573eeeae66aad98c43bd984328cdfeb3654.tar.gz |
werror: replace WERR_REG_FILE_INVALID with WERR_NOT_REGISTRY_FILE in source3/registry/reg_api_regf.c
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/reg_api_regf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |