summaryrefslogtreecommitdiff
path: root/lib/tdb/common/dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb/common/dump.c')
-rw-r--r--lib/tdb/common/dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tdb/common/dump.c b/lib/tdb/common/dump.c
index d1c902ddfd..bdcbfab139 100644
--- a/lib/tdb/common/dump.c
+++ b/lib/tdb/common/dump.c
@@ -30,7 +30,7 @@
static tdb_off_t tdb_dump_record(struct tdb_context *tdb, int hash,
tdb_off_t offset)
{
- struct list_struct rec;
+ struct tdb_record rec;
tdb_off_t tailer_ofs, tailer;
if (tdb->methods->tdb_read(tdb, offset, (char *)&rec,
@@ -95,7 +95,7 @@ int tdb_printfreelist(struct tdb_context *tdb)
int ret;
long total_free = 0;
tdb_off_t offset, rec_ptr;
- struct list_struct rec;
+ struct tdb_record rec;
if ((ret = tdb_lock(tdb, -1, F_WRLCK)) != 0)
return ret;