From 6f8449d88e2e8a16fad65aae7e34e7d5765dcced Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sat, 9 May 2020 21:07:16 +0300 Subject: [PATCH] Applied a patch from @tavplubix --- libcpuid/cpuid_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcpuid/cpuid_main.c b/libcpuid/cpuid_main.c index d51e096..0daad06 100644 --- a/libcpuid/cpuid_main.c +++ b/libcpuid/cpuid_main.c @@ -38,7 +38,7 @@ /* Implementation: */ -static int _libcpiud_errno = ERR_OK; +_Thread_local int _libcpiud_errno = ERR_OK; int set_error(cpu_error_t err) {