Module: wine Branch: master Commit: 42be36f61b8d012064970ebf1d5077d20ca87009 URL: http://source.winehq.org/git/wine.git/?a=commit;h=42be36f61b8d012064970ebf1d...
Author: Michael Stefaniuc mstefani@redhat.de Date: Wed Jun 6 01:08:46 2007 +0200
psapi: GetWsChanges() calls down to the wrong ntdll function. Found by sparse.
---
dlls/psapi/psapi_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/psapi/psapi_main.c b/dlls/psapi/psapi_main.c index cadc876..7b1588b 100644 --- a/dlls/psapi/psapi_main.c +++ b/dlls/psapi/psapi_main.c @@ -561,7 +561,7 @@ BOOL WINAPI GetWsChanges( HANDLE process, PPSAPI_WS_WATCH_INFORMATION watchinfo,
TRACE( "(%p, %p, %d)\n", process, watchinfo, size );
- status = NtQueryVirtualMemory( process, NULL, ProcessWorkingSetWatch, watchinfo, size, NULL ); + status = NtQueryInformationProcess( process, ProcessWorkingSetWatch, watchinfo, size, NULL );
if (status) {