X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftdb%2Ftest%2Frun-3G-file.c;fp=ccan%2Ftdb%2Ftest%2Frun-3G-file.c;h=7204128ff9778d8f08972dc8291da3d100407fcc;hb=655ef777da34bae1ec992503d754e607d6cebf8c;hp=ea395a9c35bdbdef76ae5abf06f72b689ff1737c;hpb=735980539f488d6f6299ec710f4045abbb104d46;p=ccan diff --git a/ccan/tdb/test/run-3G-file.c b/ccan/tdb/test/run-3G-file.c index ea395a9c..7204128f 100644 --- a/ccan/tdb/test/run-3G-file.c +++ b/ccan/tdb/test/run-3G-file.c @@ -14,6 +14,7 @@ #include #include #include +#include "logging.h" static int tdb_expand_file_sparse(struct tdb_context *tdb, tdb_off_t size, @@ -73,8 +74,8 @@ int main(int argc, char *argv[]) struct tdb_record rec; plan_tests(24); - tdb = tdb_open("run-36-file.tdb", 1024, TDB_CLEAR_IF_FIRST, - O_CREAT|O_TRUNC|O_RDWR, 0600); + tdb = tdb_open_ex("run-36-file.tdb", 1024, TDB_CLEAR_IF_FIRST, + O_CREAT|O_TRUNC|O_RDWR, 0600, &taplogctx, NULL); ok1(tdb); tdb->methods = &large_io_methods;