- Fix copypaste typo in IopUpdateOperationCount

svn path=/trunk/; revision=39620
This commit is contained in:
Dmitry Chapyshev 2009-02-16 11:02:23 +00:00
parent cc40695b51
commit f685d4bc8e

View file

@ -75,13 +75,13 @@ IopUpdateOperationCount(IN IOP_TRANSFER_TYPE Type)
{ {
/* Increase write count */ /* Increase write count */
IoWriteOperationCount++; IoWriteOperationCount++;
CountToChange = &PsGetCurrentProcess()->ReadOperationCount; CountToChange = &PsGetCurrentProcess()->WriteOperationCount;
} }
else else
{ {
/* Increase other count */ /* Increase other count */
IoOtherOperationCount++; IoOtherOperationCount++;
CountToChange = &PsGetCurrentProcess()->ReadOperationCount; CountToChange = &PsGetCurrentProcess()->OtherOperationCount;
} }
/* Increase the process-wide count */ /* Increase the process-wide count */