summaryrefslogtreecommitdiff
path: root/lib/sqfs/comp/lzo.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/lzo.c
parentbc8a16a6782d54d697a575d81dfd490022346d9d (diff)
Fix typo in error enumerator
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/comp/lzo.c')
-rw-r--r--lib/sqfs/comp/lzo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqfs/comp/lzo.c b/lib/sqfs/comp/lzo.c
index 8589dfb..0b140b8 100644
--- a/lib/sqfs/comp/lzo.c
+++ b/lib/sqfs/comp/lzo.c
@@ -130,7 +130,7 @@ static ssize_t lzo_comp_block(sqfs_compressor_t *base, const uint8_t *in,
}
if (ret != LZO_E_OK)
- return SQFS_ERROR_COMRPESSOR;
+ return SQFS_ERROR_COMPRESSOR;
if (len < size)
return len;
@@ -148,7 +148,7 @@ static ssize_t lzo_uncomp_block(sqfs_compressor_t *base, const uint8_t *in,
ret = lzo1x_decompress_safe(in, size, out, &len, lzo->buffer);
if (ret != LZO_E_OK)
- return SQFS_ERROR_COMRPESSOR;
+ return SQFS_ERROR_COMPRESSOR;
return len;
}