psapi: GetPerformanceInfo() calls down to the wrong ntdll function. Found by sparse.
This commit is contained in:
parent
8023a80ec3
commit
9e4883e2b8
|
@ -483,7 +483,7 @@ BOOL WINAPI GetPerformanceInfo( PPERFORMANCE_INFORMATION info, DWORD size )
|
|||
|
||||
TRACE( "(%p, %d)\n", info, size );
|
||||
|
||||
status = NtQueryInformationProcess( GetCurrentProcess(), SystemPerformanceInformation, info, size, NULL );
|
||||
status = NtQuerySystemInformation( SystemPerformanceInformation, info, size, NULL );
|
||||
|
||||
if (status)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue