summaryrefslogtreecommitdiff
path: root/lib/sqfs/comp/lz4.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/lz4.c
parentbc8a16a6782d54d697a575d81dfd490022346d9d (diff)
Fix typo in error enumerator
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/comp/lz4.c')
-rw-r--r--lib/sqfs/comp/lz4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqfs/comp/lz4.c b/lib/sqfs/comp/lz4.c
index ef4ab99..db44bc4 100644
--- a/lib/sqfs/comp/lz4.c
+++ b/lib/sqfs/comp/lz4.c
@@ -74,7 +74,7 @@ static ssize_t lz4_comp_block(sqfs_compressor_t *base, const uint8_t *in,
}
if (ret < 0)
- return SQFS_ERROR_COMRPESSOR;
+ return SQFS_ERROR_COMPRESSOR;
return ret;
}
@@ -88,7 +88,7 @@ static ssize_t lz4_uncomp_block(sqfs_compressor_t *base, const uint8_t *in,
ret = LZ4_decompress_safe((void *)in, (void *)out, size, outsize);
if (ret < 0)
- return SQFS_ERROR_COMRPESSOR;
+ return SQFS_ERROR_COMPRESSOR;
return ret;
}