summaryrefslogtreecommitdiff
path: root/lib/sqfs/comp/xz.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfs/comp/xz.c')
-rw-r--r--lib/sqfs/comp/xz.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqfs/comp/xz.c b/lib/sqfs/comp/xz.c
index b26e6f1..f0229e0 100644
--- a/lib/sqfs/comp/xz.c
+++ b/lib/sqfs/comp/xz.c
@@ -85,7 +85,7 @@ static ssize_t compress(xz_compressor_t *xz, lzma_vli filter,
int i = 0;
if (lzma_lzma_preset(&opt, LZMA_PRESET_DEFAULT))
- return SQFS_ERROR_COMRPESSOR;
+ return SQFS_ERROR_COMPRESSOR;
opt.dict_size = xz->dict_size;
@@ -110,7 +110,7 @@ static ssize_t compress(xz_compressor_t *xz, lzma_vli filter,
return (written >= size) ? 0 : written;
if (ret != LZMA_BUF_ERROR)
- return SQFS_ERROR_COMRPESSOR;
+ return SQFS_ERROR_COMPRESSOR;
return 0;
}
@@ -187,7 +187,7 @@ static ssize_t xz_uncomp_block(sqfs_compressor_t *base, const uint8_t *in,
if (ret == LZMA_OK && size == src_pos)
return (ssize_t)dest_pos;
- return SQFS_ERROR_COMRPESSOR;
+ return SQFS_ERROR_COMPRESSOR;
}
static sqfs_compressor_t *xz_create_copy(sqfs_compressor_t *cmp)