Skip to content

Commit 27af6e3

Browse files
committed
Merge pull request #424 from ihnorton/fix_arm_cpuid
cpuid_arm: fix detection when cpuinfo uses "Processor"
2 parents 4f83217 + a183ad1 commit 27af6e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpuid_arm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ int detect(void)
9090
while (fgets(buffer, sizeof(buffer), infile))
9191
{
9292

93-
if (!strncmp("model name", buffer, 10))
93+
if ((!strncmp("model name", buffer, 10)) || (!strncmp("Processor", buffer, 9)))
9494
{
9595
p = strchr(buffer, ':') + 2;
9696
break;

0 commit comments

Comments
 (0)