Skip to content

Commit 4d61e45

Browse files
authored
Merge pull request #3483 from martin-frbg/issue3482
Fix bracing in cpuid_mips64.c
2 parents c8d05aa + f3b51ec commit 4d61e45

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

cpuid_mips64.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,17 @@ int detect(void){
104104
}
105105
}
106106
fclose(infile);
107-
if(p != NULL){
108-
if (strstr(p, "Loongson-3A3000") || strstr(p, "Loongson-3B3000")){
109-
return CPU_LOONGSON3R3;
110-
}else if(strstr(p, "Loongson-3A4000") || strstr(p, "Loongson-3B4000")){
111-
return CPU_LOONGSON3R4;
112-
} else{
113-
return CPU_SICORTEX;
107+
if (p != NULL){
108+
if (strstr(p, "Loongson-3A3000") || strstr(p, "Loongson-3B3000")){
109+
return CPU_LOONGSON3R3;
110+
} else if (strstr(p, "Loongson-3A4000") || strstr(p, "Loongson-3B4000")){
111+
return CPU_LOONGSON3R4;
112+
} else{
113+
return CPU_SICORTEX;
114+
}
114115
}
115116
#endif
116117
return CPU_UNKNOWN;
117-
}
118118
}
119119

120120
char *get_corename(void){

0 commit comments

Comments
 (0)