Module: wine Branch: master Commit: 2b5deddc05c0483e400e286e496268ca589b3a26 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2b5deddc05c0483e400e286e49...
Author: André Hentschel nerv@dawncrow.de Date: Thu Mar 26 23:17:14 2015 +0100
ntdll: Fix CPU level on ARM.
---
dlls/ntdll/nt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c index 73d9383..a0de705 100644 --- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -1100,10 +1100,10 @@ static inline void get_cpuinfo(SYSTEM_CPU_INFORMATION* info) while (isspace(*value)) value++; if ((s = strchr(value,'\n'))) *s='\0'; - if (!strcasecmp(line, "CPU part")) + if (!strcasecmp(line, "CPU architecture")) { if (isdigit(value[0])) - info->Level = strtol(value, NULL, 16); + info->Level = atoi(value); continue; } if (!strcasecmp(line, "CPU revision"))