psapi: GetPerformanceInfo() calls down to the wrong ntdll function. Found by sparse.

This commit is contained in:
Michael Stefaniuc 2007-06-06 01:09:08 +02:00 committed by Alexandre Julliard
parent 8023a80ec3
commit 9e4883e2b8
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{