X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftdb2%2Ftest%2Frun-add-remove-flags.c;h=35a312b4d22de4e0ff0e36915b86879a40b55f3a;hb=74b0109ebd2a30d57d19ae9a56f16c0f3b3637eb;hp=23a11cdcc2c5a168ff35dceefa201656e325c2e8;hpb=efdf0f2d8f34b4c01c82c558b350ec36c7329b1e;p=ccan diff --git a/ccan/tdb2/test/run-add-remove-flags.c b/ccan/tdb2/test/run-add-remove-flags.c index 23a11cdc..35a312b4 100644 --- a/ccan/tdb2/test/run-add-remove-flags.c +++ b/ccan/tdb2/test/run-add-remove-flags.c @@ -43,7 +43,7 @@ int main(int argc, char *argv[]) else { ok1(tap_log_messages == 0); ok1(tdb_get_flags(tdb) & TDB_NOMMAP); - ok1(tdb->map_ptr == NULL); + ok1(tdb->file->map_ptr == NULL); } tap_log_messages = 0; @@ -73,7 +73,7 @@ int main(int argc, char *argv[]) else { ok1(tap_log_messages == 0); ok1(!(tdb_get_flags(tdb) & TDB_NOMMAP)); - ok1(tdb->map_ptr != NULL); + ok1(tdb->file->map_ptr != NULL); } tap_log_messages = 0;