diff options
-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); |