summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c
index ba5fb313c5..f5fea0741b 100644
--- a/source3/registry/reg_api.c
+++ b/source3/registry/reg_api.c
@@ -117,7 +117,7 @@ static WERROR fill_subkey_cache(struct registry_key *key)
if (fetch_reg_keys(key->key, key->subkeys) == -1) {
TALLOC_FREE(key->subkeys);
- return WERR_NO_MORE_ITEMS;
+ return WERR_BADFILE;
}
return WERR_OK;