From c60fe4751874905ce5b763916a93de7588073c29 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Mon, 17 Sep 2012 12:19:13 +0200 Subject: [PATCH] wbemprox: Win32_Processor.MaxClockSpeed is expressed in Mhz. --- dlls/wbemprox/builtin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c index 7e416a55797..41a31f3e177 100644 --- a/dlls/wbemprox/builtin.c +++ b/dlls/wbemprox/builtin.c @@ -783,7 +783,7 @@ static void get_processor_name( WCHAR *name ) static UINT get_processor_maxclockspeed( void ) { PROCESSOR_POWER_INFORMATION *info; - UINT ret = 1000000, size = get_processor_count() * sizeof(PROCESSOR_POWER_INFORMATION); + UINT ret = 1000, size = get_processor_count() * sizeof(PROCESSOR_POWER_INFORMATION); NTSTATUS status; if ((info = heap_alloc( size ))) -- 2.11.4.GIT