1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

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>
This commit is contained in:
Günther Deschner 2015-12-03 15:24:29 +01:00 committed by Jeremy Allison
parent d83233825c
commit ae004573ee

View File

@ -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);