Commit 9e4883e2 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent 8023a80e
......@@ -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)
{
......
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