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:
parent
d83233825c
commit
ae004573ee
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user