mirror of
https://github.com/reactos/reactos.git
synced 2025-06-24 14:19:43 +00:00
[RTL]
Properly define the loop for privileges adjustement. Spotted & fixed by Thomas. svn path=/trunk/; revision=58955
This commit is contained in:
parent
648e8504fc
commit
a330845fa1
1 changed files with 2 additions and 1 deletions
|
@ -314,8 +314,9 @@ RtlAcquirePrivilege(IN PULONG Privilege,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
*ReturnedState = State;
|
*ReturnedState = State;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
} while (FALSE);
|
} while (TRUE);
|
||||||
|
|
||||||
DPRINT("RtlAcquirePrivilege succeed!\n");
|
DPRINT("RtlAcquirePrivilege succeed!\n");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue