aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-11-08 14:00:58 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-11-08 14:00:58 +0200
commit3f4990b6822961e75cd9b4e2e82b1df63f6f8fcc (patch)
tree07df247acc8d25534640105b40ed5fdfe8b13ede /src
parentxz: Initialize the pledge(2) sandbox at the very beginning of main(). (diff)
downloadxz-3f4990b6822961e75cd9b4e2e82b1df63f6f8fcc.tar.xz
liblzma: Fix a comment in auto_decoder.c.
Diffstat (limited to 'src')
-rw-r--r--src/liblzma/common/auto_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/common/auto_decoder.c b/src/liblzma/common/auto_decoder.c
index 6895c7cc..f58ab595 100644
--- a/src/liblzma/common/auto_decoder.c
+++ b/src/liblzma/common/auto_decoder.c
@@ -86,8 +86,8 @@ auto_decode(void *coder_ptr, const lzma_allocator *allocator,
// Fall through
case SEQ_FINISH:
- // When LZMA_DECODE_CONCATENATED was used and we were decoding
- // LZMA_Alone file, we need to check check that there is no
+ // When LZMA_CONCATENATED was used and we were decoding
+ // a LZMA_Alone file, we need to check that there is no
// trailing garbage and wait for LZMA_FINISH.
if (*in_pos < in_size)
return LZMA_DATA_ERROR;