diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/registry/tools/regtree.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/registry/tools/regtree.c b/source4/lib/registry/tools/regtree.c index 2175f9c9d3..6d55a3eb84 100644 --- a/source4/lib/registry/tools/regtree.c +++ b/source4/lib/registry/tools/regtree.c @@ -82,6 +82,11 @@ static void print_tree(int level, struct registry_key *p, valuetype, valuedata)); } talloc_free(mem_ctx); + + if(!W_ERROR_EQUAL(error, WERR_NO_MORE_ITEMS)) { + DEBUG(0, ("Error occured while fetching values for '%s': %s\n", + name, win_errstr(error))); + } } mem_ctx = talloc_init("sec_desc"); |