From 30df29c0b363add3d6c7c6f55706aacd45397021 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 19 May 2022 18:57:46 +0200 Subject: Fix compilation --- cpuid_riscv64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpuid_riscv64.c b/cpuid_riscv64.c index e50b9bf8c..e4687945f 100644 --- a/cpuid_riscv64.c +++ b/cpuid_riscv64.c @@ -100,7 +100,7 @@ int detect(void){ fclose(infile); - if (strstr(pmodel, check_c910_str) && strchr(p, 'v')) + if (strstr(pmodel, check_c910_str) && strchr(pisa, 'v')) return CPU_C910V; return CPU_GENERIC; -- cgit v1.2.3