diff options
author | midipix <writeonce@midipix.org> | 2024-05-30 02:47:08 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-05-30 02:47:08 +0000 |
commit | 333924297a38d0d8e0b94bd64a6bbcfd845f4ca7 (patch) | |
tree | 67782a3f0d930391223da7803d610f6aeb67a4fe /src/logic | |
parent | 5cec4427826c31b5f3e8b46acdff54150fbd190e (diff) | |
download | tpax-333924297a38d0d8e0b94bd64a6bbcfd845f4ca7.tar.bz2 tpax-333924297a38d0d8e0b94bd64a6bbcfd845f4ca7.tar.xz |
driver: set blksize at the time of context creation.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/tpax_archive_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/tpax_archive_write.c b/src/logic/tpax_archive_write.c index 5214787..b0dad94 100644 --- a/src/logic/tpax_archive_write.c +++ b/src/logic/tpax_archive_write.c @@ -251,7 +251,7 @@ int tpax_archive_seal(const struct tpax_driver_ctx * dctx) ssize_t blksize; char buf[512]; - blksize = tpax_get_archive_block_size(dctx); + blksize = dctx->cctx->blksize; cpos = tpax_get_driver_cpos(dctx); if (cpos % 512) |