diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sqfs/comp/zstd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqfs/comp/zstd.c b/lib/sqfs/comp/zstd.c index 986c669..18289fe 100644 --- a/lib/sqfs/comp/zstd.c +++ b/lib/sqfs/comp/zstd.c @@ -154,6 +154,7 @@ int zstd_compressor_create(const sqfs_compressor_config_t *cfg, return SQFS_ERROR_ALLOC; zstd->block_size = cfg->block_size; + zstd->level = cfg->opt.zstd.level; zstd->zctx = ZSTD_createCCtx(); if (zstd->zctx == NULL) { free(zstd); |