cpuid_arm: fix detection when cpuinfo uses "Processor"

instead of "model name"
This commit is contained in:
Isaiah Norton 2014-07-31 04:59:30 +00:00
parent 4f83217df6
commit a183ad1df4
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ int detect(void)
while (fgets(buffer, sizeof(buffer), infile))
{
if (!strncmp("model name", buffer, 10))
if ((!strncmp("model name", buffer, 10)) || (!strncmp("Processor", buffer, 9)))
{
p = strchr(buffer, ':') + 2;
break;