From 5553509f1a53ee160ea3bc871c716a75ba0b1ea0 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Wed, 25 Feb 2026 00:00:49 +0200 Subject: [PATCH] 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.") --- src/liblzma/check/crc32_fast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);