X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fntoskrnl%2Fex%2Fresource.c;h=bc1df84ab76ed8fbe3c89b9c28801aba94e4fe12;hp=258db178082995de779d88cdaf11978af4c2e19a;hb=11cd383f29e7e27793dfd5da60a2cb2cde5b4d36;hpb=8707f4af9f62b146308ea437f67c65e6b739b041;ds=inline diff --git a/reactos/ntoskrnl/ex/resource.c b/reactos/ntoskrnl/ex/resource.c index 258db178082..bc1df84ab76 100644 --- a/reactos/ntoskrnl/ex/resource.c +++ b/reactos/ntoskrnl/ex/resource.c @@ -708,10 +708,10 @@ ExpWaitForResource(IN PERESOURCE Resource, for (i = 1; i < Size; i++) { /* Move to next entry */ - Owner++ + Owner++; /* Get the thread */ - OwnerThread = (PKTHREAD)OwnerEntry->OwnerThread; + OwnerThread = (PKTHREAD)Owner->OwnerThread; /* Boost it */ if (OwnerThread) ExpBoostOwnerThread(Thread, OwnerThread);