ntdll: Fix CPU level on ARM.

This commit is contained in:
André Hentschel 2015-03-26 23:17:14 +01:00 committed by Alexandre Julliard
parent a29ca210e6
commit 2b5deddc05
1 changed files with 2 additions and 2 deletions

View File

@ -1100,10 +1100,10 @@ static inline void get_cpuinfo(SYSTEM_CPU_INFORMATION* info)
while (isspace(*value)) value++; while (isspace(*value)) value++;
if ((s = strchr(value,'\n'))) if ((s = strchr(value,'\n')))
*s='\0'; *s='\0';
if (!strcasecmp(line, "CPU part")) if (!strcasecmp(line, "CPU architecture"))
{ {
if (isdigit(value[0])) if (isdigit(value[0]))
info->Level = strtol(value, NULL, 16); info->Level = atoi(value);
continue; continue;
} }
if (!strcasecmp(line, "CPU revision")) if (!strcasecmp(line, "CPU revision"))