https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9c8a8cf2aad3e445367d68...
commit 9c8a8cf2aad3e445367d681944a85d7a6315a2a1 Author: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org AuthorDate: Thu Nov 3 18:03:43 2022 +0100 Commit: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org CommitDate: Mon Nov 14 00:10:30 2022 +0100
[CSRSRV][NTOS:PS] Misc typos fixes. --- ntoskrnl/ps/thread.c | 2 +- subsystems/csr/csrsrv/procsup.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ntoskrnl/ps/thread.c b/ntoskrnl/ps/thread.c index 25b449505c5..969351c6763 100644 --- a/ntoskrnl/ps/thread.c +++ b/ntoskrnl/ps/thread.c @@ -375,7 +375,7 @@ PspCreateThread(OUT PHANDLE ThreadHandle, KeEnterCriticalRegion(); ExAcquirePushLockExclusive(&Process->ProcessLock);
- /* Make sure the proces didn't just die on us */ + /* Make sure the process didn't just die on us */ if (Process->ProcessDelete) goto Quickie;
/* Check if the thread was ours, terminated and it was user mode */ diff --git a/subsystems/csr/csrsrv/procsup.c b/subsystems/csr/csrsrv/procsup.c index 929a0bc39a6..7abf0d1f6d6 100644 --- a/subsystems/csr/csrsrv/procsup.c +++ b/subsystems/csr/csrsrv/procsup.c @@ -127,7 +127,7 @@ CsrProcessRefcountZero(IN PCSR_PROCESS CsrProcess) if (CsrProcess->NtSession) { /* Dereference the Session */ - CsrDereferenceNtSession(CsrProcess->NtSession, 0); + CsrDereferenceNtSession(CsrProcess->NtSession, STATUS_SUCCESS); }
/* Close the Client Port if there is one */ @@ -136,7 +136,7 @@ CsrProcessRefcountZero(IN PCSR_PROCESS CsrProcess) /* Close the process handle */ NtClose(CsrProcess->ProcessHandle);
- /* Free the Proces Object */ + /* Free the Process Object */ CsrDeallocateProcess(CsrProcess); }