diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-27 16:09:55 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-27 16:09:55 +0200 |
commit | 720023d968b24fe358fd4cfb002d8572f6cc96e7 (patch) | |
tree | 1c4bcfa650e49051f7ed215623696514f96d34f3 /lib/sqfs/comp/xz.c | |
parent | bc8a16a6782d54d697a575d81dfd490022346d9d (diff) |
Fix typo in error enumerator
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/comp/xz.c')
-rw-r--r-- | lib/sqfs/comp/xz.c | 6 |
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) |