diff --git a/reactos/ntoskrnl/se/semgr.c b/reactos/ntoskrnl/se/semgr.c index 3fd7ca1727b..99f978e7625 100644 --- a/reactos/ntoskrnl/se/semgr.c +++ b/reactos/ntoskrnl/se/semgr.c @@ -667,7 +667,7 @@ NtAccessCheck(IN PSECURITY_DESCRIPTOR SecurityDescriptor, } /* Check impersonation level */ - if (Token->ImpersonationLevel < SecurityAnonymous) + if (Token->ImpersonationLevel < SecurityIdentification) { DPRINT1("Invalid impersonation level\n"); ObDereferenceObject(Token);