Browse Source

Fix compilation

tags/v0.3.21
Martin Kroeker GitHub 3 years ago
parent
commit
30df29c0b3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cpuid_riscv64.c

+ 1
- 1
cpuid_riscv64.c View File

@@ -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;


Loading…
Cancel
Save