git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d832338
)
werror: replace WERR_REG_FILE_INVALID with WERR_NOT_REGISTRY_FILE in source3/registry...
author
Günther Deschner
<gd@samba.org>
Thu, 3 Dec 2015 14:24:29 +0000
(15:24 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 27 Sep 2016 22:04:24 +0000
(
00:04
+0200)
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/registry/reg_api_regf.c
patch
|
blob
|
history
diff --git
a/source3/registry/reg_api_regf.c
b/source3/registry/reg_api_regf.c
index ea6371f452df55f2c6968083788c2682fb9bee43..16a3fada0f3a2bab456efbd8ebf4fdda0523e05e 100644
(file)
--- 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);