summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/registry/reg_db.c b/source3/registry/reg_db.c
index 773a4f7fb5..74012263e5 100644
--- a/source3/registry/reg_db.c
+++ b/source3/registry/reg_db.c
@@ -252,8 +252,8 @@ int regdb_fetch_reg_keys( char* key, REGSUBKEY_CTR *ctr )
buflen = dbuf.dsize;
if ( !buf ) {
- DEBUG(5,("regdb_fetch_reg_keys: Failed to fetch any subkeys for [%s]\n", key));
- return 0;
+ DEBUG(5,("regdb_fetch_reg_keys: tdb lookup failed to locate key [%s]\n", key));
+ return -1;
}
len = tdb_unpack( buf, buflen, "d", &num_items);