diff options
Diffstat (limited to 'libarchive/test/test_write_disk_sparse.c')
-rw-r--r-- | libarchive/test/test_write_disk_sparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libarchive/test/test_write_disk_sparse.c b/libarchive/test/test_write_disk_sparse.c index 638f0a4b26d3..d25b6c00637d 100644 --- a/libarchive/test/test_write_disk_sparse.c +++ b/libarchive/test/test_write_disk_sparse.c @@ -269,12 +269,12 @@ DEFINE_TEST(test_write_disk_sparse) archive_write_disk_set_options(ad, 0); verify_write_data(ad, 0); verify_write_data_block(ad, 0); - assertEqualInt(0, archive_write_finish(ad)); + assertEqualInt(0, archive_write_free(ad)); assert((ad = archive_write_disk_new()) != NULL); archive_write_disk_set_options(ad, ARCHIVE_EXTRACT_SPARSE); verify_write_data(ad, 1); verify_write_data_block(ad, 1); - assertEqualInt(0, archive_write_finish(ad)); + assertEqualInt(0, archive_write_free(ad)); } |