Author: hbelusca
Date: Thu Apr 4 19:47:42 2013
New Revision: 58678
URL:
http://svn.reactos.org/svn/reactos?rev=58678&view=rev
Log:
[ROSTESTS]
Correct spelling and Co.
Modified:
trunk/rostests/drivers/csqtest/csqtest.c
trunk/rostests/drivers/ntoskrnl/IoEaTest.cpp
Modified: trunk/rostests/drivers/csqtest/csqtest.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/drivers/csqtest/csqtest.c…
==============================================================================
--- trunk/rostests/drivers/csqtest/csqtest.c [iso-8859-1] (original)
+++ trunk/rostests/drivers/csqtest/csqtest.c [iso-8859-1] Thu Apr 4 19:47:42 2013
@@ -194,9 +194,9 @@
CsqAcquireLock, CsqReleaseLock, CsqCompleteCancelledIrp);
if(Status != STATUS_SUCCESS)
- KdPrint(("csqtest: IoCsqInitalize failed: 0x%x\n", Status));
+ KdPrint(("csqtest: IoCsqInitialize failed: 0x%x\n", Status));
else
- KdPrint(("csqtest: IoCsqInitalize succeeded\n"));
+ KdPrint(("csqtest: IoCsqInitialize succeeded\n"));
InitializeListHead(&IrpQueue);
KeInitializeSpinLock(&IrpQueueLock);
Modified: trunk/rostests/drivers/ntoskrnl/IoEaTest.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/drivers/ntoskrnl/IoEaTest…
==============================================================================
--- trunk/rostests/drivers/ntoskrnl/IoEaTest.cpp [iso-8859-1] (original)
+++ trunk/rostests/drivers/ntoskrnl/IoEaTest.cpp [iso-8859-1] Thu Apr 4 19:47:42 2013
@@ -34,16 +34,16 @@
ULONG NextEaBufferOffset;
UINT IntEaLength;
- /* Length of the rest. Inital equal to EaLength */
+ /* Length of the rest. Initialize it to EaLength */
IntEaLength = EaLength;
- /* Inital EaBuffer equal to EaBuffer */
+ /* Initialize EaBuffer to EaBuffer */
EaBufferEnd = EaBuffer;
/* The rest length of the buffer */
/* 8 = sizeof(ULONG) + sizeof(UCHAR) + sizeof(UCHAR) + sizeof(USHORT) */
while (IntEaLength >= 8)
{
- /* rest of buffer must greater then the sizeof(FILE_FULL_EA_INFORMATION) + buffer
*/
+ /* The rest of the buffer must be greater than sizeof(FILE_FULL_EA_INFORMATION) +
buffer */
NextEaBufferOffset = EaBufferEnd->EaNameLength+EaBufferEnd->EaValueLength +
9;
if (IntEaLength >= NextEaBufferOffset)
{
@@ -63,14 +63,14 @@
else
{
/*
- From the MSDN
(
http://msdn2.microsoft.com/en-us/library/ms795740.aspx).
+ From MSDN (
http://msdn2.microsoft.com/en-us/library/ms795740.aspx).
For all entries except the last, the value of NextEntryOffset must be
greater
than zero and must fall on a ULONG boundary.
*/
NextEaBufferOffset = ((NextEaBufferOffset + 3) & 0xFFFFFFFC);
if ((EaBufferEnd->NextEntryOffset == NextEaBufferOffset) &&
(EaBufferEnd->NextEntryOffset>0))
{
- /* rest of buffer must be greater then the next offset */
+ /* The rest of the buffer must be greater than the next offset */
IntEaLength = IntEaLength - EaBufferEnd->NextEntryOffset;
if (IntEaLength>=0)
{
@@ -86,7 +86,7 @@
if (ErrorOffset != NULL)
{
- /* calculate the error offset. Or in */
+ /* calculate the error offset. */
*ErrorOffset = (ULONG)((ULONG_PTR)EaBufferEnd - (ULONG_PTR)EaBuffer);
}