aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/check/crc32_fast.c
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2024-03-09 09:52:32 +0800
committerJia Tan <jiat0218@gmail.com>2024-03-09 09:52:32 +0800
commit058337b0f1da9f166049ecc972fa5c499c1af08c (patch)
treee400569bce062923f6cb4814909d64e5d1bd9a5b /src/liblzma/check/crc32_fast.c
parentTests: Replace HAVE_MICROLZMA usage in CMake and Autotools builds. (diff)
downloadxz-058337b0f1da9f166049ecc972fa5c499c1af08c.tar.xz
liblzma: Fix typos in crc32_fast.c and crc64_fast.c.
Diffstat (limited to 'src/liblzma/check/crc32_fast.c')
-rw-r--r--src/liblzma/check/crc32_fast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/check/crc32_fast.c b/src/liblzma/check/crc32_fast.c
index 719d696c..bfa295a0 100644
--- a/src/liblzma/check/crc32_fast.c
+++ b/src/liblzma/check/crc32_fast.c
@@ -135,12 +135,12 @@ typedef uint32_t (*crc32_func_type)(
// This resolver is shared between all three dispatch methods. It serves as
// the ifunc resolver if ifunc is supported, otherwise it is called as a
// regular function by the constructor or first call resolution methods.
-// The funcion attributes are needed for safe IFUNC resolver usage with GCC.
+// The function attributes are needed for safe IFUNC resolver usage with GCC.
lzma_resolver_attributes
static crc32_func_type
crc32_resolve(void)
{
- return is_arch_extension_supported()
+ return is_arch_extension_supported()
? &crc32_arch_optimized : &crc32_generic;
}