X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Ftest%2Frun-record-expand.c;fp=ccan%2Ftdb2%2Ftest%2Frun-record-expand.c;h=7e07b9345b78fe8d5670aaf6f7fd21f549363581;hp=918833d9037f239a70f2b9c85fe3c072d87a55f6;hb=2088fa3cd72332f5517edeb9267e381fdf35db01;hpb=0939b69164c65329fa8f6b2c4ab5e9c7d9162678 diff --git a/ccan/tdb2/test/run-record-expand.c b/ccan/tdb2/test/run-record-expand.c index 918833d9..7e07b934 100644 --- a/ccan/tdb2/test/run-record-expand.c +++ b/ccan/tdb2/test/run-record-expand.c @@ -25,8 +25,7 @@ int main(int argc, char *argv[]) * (3 + (1 + (MAX_SIZE/SIZE_STEP)) * 2) + 1); for (i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) { tdb = tdb_open("run-record-expand.tdb", flags[i], - O_RDWR|O_CREAT|O_TRUNC, 0600, NULL); - tdb->log = tap_log_fn; + O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr); ok1(tdb); if (!tdb) continue;