From 5f8f828416362de4131f99241a84207c1938914a Mon Sep 17 00:00:00 2001 From: Dmitry Gorbachev Date: Sat, 14 Apr 2007 18:07:08 +0000 Subject: [PATCH] Fix a bug. svn path=/trunk/; revision=26342 --- reactos/ntoskrnl/ps/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/ps/query.c b/reactos/ntoskrnl/ps/query.c index 6d5fbcb420f..561b189c7b0 100644 --- a/reactos/ntoskrnl/ps/query.c +++ b/reactos/ntoskrnl/ps/query.c @@ -267,7 +267,7 @@ NtQueryInformationProcess(IN HANDLE ProcessHandle, VmCounters->PeakPagefileUsage = Process->QuotaPeak[2]; /* Set the return length */ - *ReturnLength = sizeof(VM_COUNTERS); + Length = sizeof(VM_COUNTERS); } _SEH_HANDLE {