wbemprox: Win32_Processor.MaxClockSpeed is expressed in Mhz.

This commit is contained in:
Hans Leidekker 2012-09-17 12:19:13 +02:00 committed by Alexandre Julliard
parent 8e53500418
commit c60fe47518
1 changed files with 1 additions and 1 deletions

View File

@ -783,7 +783,7 @@ static void get_processor_name( WCHAR *name )
static UINT get_processor_maxclockspeed( void ) static UINT get_processor_maxclockspeed( void )
{ {
PROCESSOR_POWER_INFORMATION *info; 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; NTSTATUS status;
if ((info = heap_alloc( size ))) if ((info = heap_alloc( size )))