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/zstd.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/zstd.c')
-rw-r--r-- | lib/sqfs/comp/zstd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqfs/comp/zstd.c b/lib/sqfs/comp/zstd.c index 312679a..50440a0 100644 --- a/lib/sqfs/comp/zstd.c +++ b/lib/sqfs/comp/zstd.c @@ -61,7 +61,7 @@ static ssize_t zstd_comp_block(sqfs_compressor_t *base, const uint8_t *in, zstd->level); if (ZSTD_isError(ret)) - return SQFS_ERROR_COMRPESSOR; + return SQFS_ERROR_COMPRESSOR; return ret < size ? ret : 0; } @@ -75,7 +75,7 @@ static ssize_t zstd_uncomp_block(sqfs_compressor_t *base, const uint8_t *in, ret = ZSTD_decompress(out, outsize, in, size); if (ZSTD_isError(ret)) - return SQFS_ERROR_COMRPESSOR; + return SQFS_ERROR_COMPRESSOR; return ret; } |