Commit c60fe475 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wbemprox: Win32_Processor.MaxClockSpeed is expressed in Mhz.

parent 8e535004
......@@ -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 )))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment