- revert 41605 as its incorrect
[reactos.git] / reactos / dll / win32 / advapi32 / token / token.c
index f32d629..8ed48af 100644 (file)
@@ -172,7 +172,7 @@ AccessCheck(IN PSECURITY_DESCRIPTOR pSecurityDescriptor,
     {
         /* Access denied */
         SetLastError(RtlNtStatusToDosError(NtAccessStatus));
-        return FALSE;
+        *AccessStatus = FALSE;
     }
     else
     {