diff options
Diffstat (limited to 'lib/tdb2/test/run-04-basichash.c')
-rw-r--r-- | lib/tdb2/test/run-04-basichash.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tdb2/test/run-04-basichash.c b/lib/tdb2/test/run-04-basichash.c index 9ab45ad978..dc75fc72dc 100644 --- a/lib/tdb2/test/run-04-basichash.c +++ b/lib/tdb2/test/run-04-basichash.c @@ -68,9 +68,9 @@ int main(int argc, char *argv[]) /* Make sure we fill it in for later finding. */ off = new_off + sizeof(struct tdb_used_record); - ok1(!tdb->tdb2.io->twrite(tdb, off, key.dptr, key.dsize)); + ok1(!tdb->io->twrite(tdb, off, key.dptr, key.dsize)); off += key.dsize; - ok1(!tdb->tdb2.io->twrite(tdb, off, dbuf.dptr, dbuf.dsize)); + ok1(!tdb->io->twrite(tdb, off, dbuf.dptr, dbuf.dsize)); /* We should be able to unlock that OK. */ ok1(tdb_unlock_hashes(tdb, h.hlock_start, h.hlock_range, @@ -228,9 +228,9 @@ int main(int argc, char *argv[]) /* Make sure we fill it in for later finding. */ off = new_off + sizeof(struct tdb_used_record); - ok1(!tdb->tdb2.io->twrite(tdb, off, key.dptr, key.dsize)); + ok1(!tdb->io->twrite(tdb, off, key.dptr, key.dsize)); off += key.dsize; - ok1(!tdb->tdb2.io->twrite(tdb, off, dbuf.dptr, dbuf.dsize)); + ok1(!tdb->io->twrite(tdb, off, dbuf.dptr, dbuf.dsize)); /* We should be able to unlock that OK. */ ok1(tdb_unlock_hashes(tdb, h.hlock_start, h.hlock_range, |