aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/stream_encoder_mt.c
diff options
context:
space:
mode:
authorAntoine Cœur <antoine.coeur@ef.com>2019-05-08 13:30:57 +0800
committerLasse Collin <lasse.collin@tukaani.org>2019-07-13 17:53:33 +0300
commit0d318402f8a022f707622c72f8f1894ea476cf89 (patch)
treeb504495dd51744f5ddf3b5eccbb06e63537cf4ae /src/liblzma/common/stream_encoder_mt.c
parentREADME: Update translation instructions. (diff)
downloadxz-0d318402f8a022f707622c72f8f1894ea476cf89.tar.xz
spelling
Diffstat (limited to 'src/liblzma/common/stream_encoder_mt.c')
-rw-r--r--src/liblzma/common/stream_encoder_mt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/stream_encoder_mt.c b/src/liblzma/common/stream_encoder_mt.c
index 2efe44c2..448d871c 100644
--- a/src/liblzma/common/stream_encoder_mt.c
+++ b/src/liblzma/common/stream_encoder_mt.c
@@ -958,7 +958,7 @@ stream_encoder_mt_init(lzma_next_coder *next, const lzma_allocator *allocator,
// Validate the filter chain so that we can give an error in this
// function instead of delaying it to the first call to lzma_code().
// The memory usage calculation verifies the filter chain as
- // a side effect so we take advatange of that.
+ // a side effect so we take advantage of that.
if (lzma_raw_encoder_memusage(filters) == UINT64_MAX)
return LZMA_OPTIONS_ERROR;