[1/2] ntdll: Fix CPU level on ARM
André Hentschel
nerv at dawncrow.de
Thu Mar 26 17:17:14 CDT 2015
---
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"))
--
1.9.1
More information about the wine-patches
mailing list