diff --git a/reactos/ntoskrnl/ps/query.c b/reactos/ntoskrnl/ps/query.c index a6a4e299372..64a318e4706 100644 --- a/reactos/ntoskrnl/ps/query.c +++ b/reactos/ntoskrnl/ps/query.c @@ -110,8 +110,8 @@ NtQueryInformationProcess(IN HANDLE ProcessHandle, (ProcessHandle != NtCurrentProcess())) { /* - * Retreiving the process cookie is only allowed for the calling process - * itself! XP only allowes NtCurrentProcess() as process handles even if + * Retrieving the process cookie is only allowed for the calling process + * itself! XP only allows NtCurrentProcess() as process handles even if * a real handle actually represents the current process. */ return STATUS_INVALID_PARAMETER; diff --git a/reactos/win32ss/gdi/ntgdi/gdiobj.c b/reactos/win32ss/gdi/ntgdi/gdiobj.c index c7968c58f6f..d4212a2d08a 100644 --- a/reactos/win32ss/gdi/ntgdi/gdiobj.c +++ b/reactos/win32ss/gdi/ntgdi/gdiobj.c @@ -713,7 +713,7 @@ GDIOBJ_ReferenceObjectByHandle( /* Check if the object is exclusively locked */ if (pobj->cExclusiveLock != 0) { - DPRINT1("GDIOBJ: Cannot reference oject %p with exclusive lock.\n", hobj); + DPRINT1("GDIOBJ: Cannot reference object %p with exclusive lock.\n", hobj); GDIOBJ_vDereferenceObject(pobj); DBG_DUMP_EVENT_LIST(&pobj->slhLog); return NULL;