summaryrefslogtreecommitdiff
path: root/lib/tdb2/check.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb2/check.c')
-rw-r--r--lib/tdb2/check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tdb2/check.c b/lib/tdb2/check.c
index 238a5b3a46..ecd6c13c53 100644
--- a/lib/tdb2/check.c
+++ b/lib/tdb2/check.c
@@ -497,8 +497,8 @@ static enum TDB_ERROR check_free(struct tdb_context *tdb,
}
- ecode = tdb->tdb2.io->oob(tdb, off
- + frec_len(frec)
+ ecode = tdb->tdb2.io->oob(tdb, off,
+ frec_len(frec)
+ sizeof(struct tdb_used_record),
false);
if (ecode != TDB_SUCCESS) {