summaryrefslogtreecommitdiffhomepage
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-05-30 02:47:08 +0000
committermidipix <writeonce@midipix.org>2024-05-30 02:47:08 +0000
commit333924297a38d0d8e0b94bd64a6bbcfd845f4ca7 (patch)
tree67782a3f0d930391223da7803d610f6aeb67a4fe /src/logic
parent5cec4427826c31b5f3e8b46acdff54150fbd190e (diff)
downloadtpax-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.c2
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)