From f685d4bc8e27452a28a3433c89f69de49f5747ea Mon Sep 17 00:00:00 2001 From: Dmitry Chapyshev Date: Mon, 16 Feb 2009 11:02:23 +0000 Subject: [PATCH] - Fix copypaste typo in IopUpdateOperationCount svn path=/trunk/; revision=39620 --- reactos/ntoskrnl/include/internal/io_x.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/include/internal/io_x.h b/reactos/ntoskrnl/include/internal/io_x.h index e7d3ea5d753..4372aca3933 100644 --- a/reactos/ntoskrnl/include/internal/io_x.h +++ b/reactos/ntoskrnl/include/internal/io_x.h @@ -75,13 +75,13 @@ IopUpdateOperationCount(IN IOP_TRANSFER_TYPE Type) { /* Increase write count */ IoWriteOperationCount++; - CountToChange = &PsGetCurrentProcess()->ReadOperationCount; + CountToChange = &PsGetCurrentProcess()->WriteOperationCount; } else { /* Increase other count */ IoOtherOperationCount++; - CountToChange = &PsGetCurrentProcess()->ReadOperationCount; + CountToChange = &PsGetCurrentProcess()->OtherOperationCount; } /* Increase the process-wide count */