X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Ftest%2Frun-tdb1-3G-file.c;h=1eab4476712a3a760ab408090b8d726de57c5833;hp=d5aeda5ddebd1f48be28a0b3b87717dc6f657384;hb=a446f1d4d161d66bbb19ba2551cf6429a4865964;hpb=c8f6f8c2dea76042f74c02eff048847e62adcca6;ds=sidebyside diff --git a/ccan/tdb2/test/run-tdb1-3G-file.c b/ccan/tdb2/test/run-tdb1-3G-file.c index d5aeda5d..1eab4476 100644 --- a/ccan/tdb2/test/run-tdb1-3G-file.c +++ b/ccan/tdb2/test/run-tdb1-3G-file.c @@ -4,7 +4,7 @@ #include #include #include -#include "tdb1-logging.h" +#include "logging.h" static int tdb1_expand_file_sparse(struct tdb_context *tdb, tdb1_off_t size, @@ -66,8 +66,8 @@ int main(int argc, char *argv[]) struct tdb1_record rec; plan_tests(24); - tdb = tdb1_open_ex("run-36-file.tdb", 1024, TDB_DEFAULT, - O_CREAT|O_TRUNC|O_RDWR, 0600, &taplogctx, NULL); + tdb = tdb1_open("run-36-file.tdb", 1024, TDB_DEFAULT, + O_CREAT|O_TRUNC|O_RDWR, 0600, &tap_log_attr); ok1(tdb); tdb->tdb1.io = &large_io_methods;