summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/dbwrap/dbwrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/dbwrap/dbwrap.c b/source3/lib/dbwrap/dbwrap.c
index 5908e1ecb0..8cbf12e2b8 100644
--- a/source3/lib/dbwrap/dbwrap.c
+++ b/source3/lib/dbwrap/dbwrap.c
@@ -76,7 +76,7 @@ int dbwrap_fallback_parse_record(struct db_context *db, TDB_DATA key,
res = db->fetch(db, talloc_tos(), key, &data);
if (res != 0) {
- return res;
+ return -1;
}
res = parser(key, data, private_data);