Fix missing parens.

This commit is contained in:
Chip-Kerchner 2023-10-03 10:26:14 -05:00
parent a8c90eb3ed
commit 2d0b233425
1 changed files with 4 additions and 4 deletions

View File

@ -241,13 +241,13 @@ static int __builtin_cpu_is(char *arg)
ipinfo = cpuid();
}
if (ipinfo == CPU_POWER10) {
if (!strcmp(arg, "power10") return 1;
if (!strcmp(arg, "power10")) return 1;
} else if (ipinfo == CPU_POWER9) {
if (!strcmp(arg, "power9") return 1;
if (!strcmp(arg, "power9")) return 1;
} else if (ipinfo == CPU_POWER8) {
if (!strcmp(arg, "power8") return 1;
if (!strcmp(arg, "power8")) return 1;
} else if (ipinfo == CPU_POWER6) {
if (!strcmp(arg, "power6") return 1;
if (!strcmp(arg, "power6")) return 1;
} else {
return 0;
}