summaryrefslogtreecommitdiff
path: root/lib/tdb2/test/run-tdb1-summary.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb2/test/run-tdb1-summary.c')
-rw-r--r--lib/tdb2/test/run-tdb1-summary.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tdb2/test/run-tdb1-summary.c b/lib/tdb2/test/run-tdb1-summary.c
index ccfc0958e1..616c522507 100644
--- a/lib/tdb2/test/run-tdb1-summary.c
+++ b/lib/tdb2/test/run-tdb1-summary.c
@@ -10,8 +10,8 @@ int main(int argc, char *argv[])
int flags[] = { TDB1_INTERNAL, TDB1_DEFAULT, TDB1_NOMMAP,
TDB1_INTERNAL|TDB1_CONVERT, TDB1_CONVERT,
TDB1_NOMMAP|TDB1_CONVERT };
- TDB1_DATA key = { (unsigned char *)&j, sizeof(j) };
- TDB1_DATA data = { (unsigned char *)&j, sizeof(j) };
+ TDB_DATA key = { (unsigned char *)&j, sizeof(j) };
+ TDB_DATA data = { (unsigned char *)&j, sizeof(j) };
char *summary;
plan_tests(sizeof(flags) / sizeof(flags[0]) * 14);
@@ -26,7 +26,7 @@ int main(int argc, char *argv[])
for (j = 0; j < 500; j++) {
/* Make sure padding varies to we get some graphs! */
data.dsize = j % (sizeof(j) + 1);
- if (tdb1_store(tdb, key, data, TDB1_REPLACE) != 0)
+ if (tdb1_store(tdb, key, data, TDB_REPLACE) != 0)
fail("Storing in tdb");
}