Author: hbelusca
Date: Sat Jun 28 21:40:34 2014
New Revision: 63660
URL:
http://svn.reactos.org/svn/reactos?rev=63660&view=rev
Log:
[SMSS][CSRSRV]: Typo fix.
[CSRSRV]: Fix an assertion.
Modified:
trunk/reactos/base/system/smss/smutil.c
trunk/reactos/subsystems/win32/csrsrv/procsup.c
trunk/reactos/subsystems/win32/csrsrv/thredsup.c
Modified: trunk/reactos/base/system/smss/smutil.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smutil.c?…
==============================================================================
--- trunk/reactos/base/system/smss/smutil.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smutil.c [iso-8859-1] Sat Jun 28 21:40:34 2014
@@ -536,7 +536,7 @@
Status = RtlLockBootStatusData(&BootState);
if (NT_SUCCESS(Status))
{
- /* Write the bootokay and bootshudown values */
+ /* Write the bootokay and bootshutdown values */
RtlGetSetBootStatusData(BootState,
FALSE,
RtlBsdItemBootGood,
Modified: trunk/reactos/subsystems/win32/csrsrv/procsup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrsrv/pr…
==============================================================================
--- trunk/reactos/subsystems/win32/csrsrv/procsup.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrsrv/procsup.c [iso-8859-1] Sat Jun 28 21:40:34 2014
@@ -1297,7 +1297,7 @@
CsrProcess->ShutdownFlags = 0;
}
- /* Set shudown Priority */
+ /* Set shutdown Priority */
CsrSetToShutdownPriority();
/* Start looping */
Modified: trunk/reactos/subsystems/win32/csrsrv/thredsup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrsrv/th…
==============================================================================
--- trunk/reactos/subsystems/win32/csrsrv/thredsup.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrsrv/thredsup.c [iso-8859-1] Sat Jun 28 21:40:34
2014
@@ -1045,7 +1045,7 @@
CsrAcquireProcessLock();
/* Sanity checks */
- ASSERT(CsrThread->Flags & CsrThreadTerminated); // CSR_THREAD_DESTROYED in
ASSERT
+ ASSERT((CsrThread->Flags & CsrThreadTerminated) == 0);
ASSERT(CsrThread->ReferenceCount != 0);
/* Increment reference count */