Commit 5553509f for xz
commit 5553509f1a53ee160ea3bc871c716a75ba0b1ea0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date: Wed Feb 25 00:00:49 2026 +0200
liblzma: Fix a copy-paste error in commented-out code
Fixes: https://github.com/dotnet/runtime/pull/124003#discussion_r2841960994
Fixes: 96b663f67c0e ("liblzma: Refactor CRC comments.")
diff --git a/src/liblzma/check/crc32_fast.c b/src/liblzma/check/crc32_fast.c
index 6184e2b7..d8ba37ea 100644
--- a/src/liblzma/check/crc32_fast.c
+++ b/src/liblzma/check/crc32_fast.c
@@ -182,7 +182,7 @@ lzma_crc32(const uint8_t *buf, size_t size, uint32_t crc)
// See crc32_dispatch(). This would be the alternative which uses
// locking and doesn't use crc32_dispatch(). Note that on Windows
// this method needs Vista threads.
- mythread_once(crc64_set_func);
+ mythread_once(crc32_set_func);
#endif
*/
return crc32_func(buf, size, crc);