summaryrefslogtreecommitdiff
path: root/lib/sqfs/comp/zstd.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-27 16:09:55 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-27 16:09:55 +0200
commit720023d968b24fe358fd4cfb002d8572f6cc96e7 (patch)
tree1c4bcfa650e49051f7ed215623696514f96d34f3 /lib/sqfs/comp/zstd.c
parentbc8a16a6782d54d697a575d81dfd490022346d9d (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.c4
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;
}