Skip to content

Commit 30df29c

Browse files
authored
Fix compilation
1 parent a720e2c commit 30df29c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpuid_riscv64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ int detect(void){
100100

101101
fclose(infile);
102102

103-
if (strstr(pmodel, check_c910_str) && strchr(p, 'v'))
103+
if (strstr(pmodel, check_c910_str) && strchr(pisa, 'v'))
104104
return CPU_C910V;
105105

106106
return CPU_GENERIC;

0 commit comments

Comments
 (0)