wbemprox: Win32_Processor.MaxClockSpeed is expressed in Mhz.
This commit is contained in:
parent
8e53500418
commit
c60fe47518
|
@ -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 )))
|
||||||
|
|
Loading…
Reference in New Issue