aboutsummaryrefslogtreecommitdiff
path: root/lib/common
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common')
-rw-r--r--lib/common/src/writer/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/common/src/writer/init.c b/lib/common/src/writer/init.c
index 497fc6e..fe5fcc5 100644
--- a/lib/common/src/writer/init.c
+++ b/lib/common/src/writer/init.c
@@ -120,8 +120,7 @@ int sqfs_writer_init(sqfs_writer_t *sqfs, const sqfs_writer_cfg_t *wrcfg)
if (ret > 0)
sqfs->super.flags |= SQFS_FLAG_COMPRESSOR_OPTIONS;
- sqfs->blkwr = sqfs_block_writer_create(sqfs->outfile,
- wrcfg->devblksize, 0);
+ sqfs->blkwr = sqfs_block_writer_create(sqfs->outfile, 0);
if (sqfs->blkwr == NULL) {
perror("creating block writer");
goto fail_uncmp;