diff options
Diffstat (limited to 'test/unit-tests.c')
-rw-r--r-- | test/unit-tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit-tests.c b/test/unit-tests.c index 9945bac..8a41a76 100644 --- a/test/unit-tests.c +++ b/test/unit-tests.c @@ -407,7 +407,7 @@ test_dma_addr_to_sg(void **state UNUSED) assert_int_equal(0x2000 - (unsigned long long)r->info.iova.iov_base, sg.offset); assert_int_equal(0x400, sg.length); - assert_true(sg.mappable); + assert_true(vfu_sg_is_mappable(&vfu_ctx, &sg)); errno = 0; r->info.prot = PROT_WRITE; |