mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:03:00 +00:00
[NTOS]
- Fix copypasta in the comments svn path=/trunk/; revision=70348
This commit is contained in:
parent
a62f0ac81c
commit
830c4ee4a0
1 changed files with 2 additions and 2 deletions
|
@ -654,10 +654,10 @@ PsLookupThreadByThreadId(IN HANDLE ThreadId,
|
||||||
CidEntry = ExMapHandleToPointer(PspCidTable, ThreadId);
|
CidEntry = ExMapHandleToPointer(PspCidTable, ThreadId);
|
||||||
if (CidEntry)
|
if (CidEntry)
|
||||||
{
|
{
|
||||||
/* Get the Process */
|
/* Get the Thread */
|
||||||
FoundThread = CidEntry->Object;
|
FoundThread = CidEntry->Object;
|
||||||
|
|
||||||
/* Make sure it's really a process */
|
/* Make sure it's really a thread */
|
||||||
if (FoundThread->Tcb.Header.Type == ThreadObject)
|
if (FoundThread->Tcb.Header.Type == ThreadObject)
|
||||||
{
|
{
|
||||||
/* Safe Reference and return it */
|
/* Safe Reference and return it */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue