[NTOS:SE] SepSinglePrivilegeCheck doesn't expect a NT status code value

Fix a wrong returned datatype of the function, as SepSinglePrivilegeCheck calls the internal private SepPrivilegeCheck function which returns a BOOLEAN value.
This commit is contained in:
George Bișoc 2021-08-22 11:31:57 +02:00
parent 8567d8145e
commit 84f7bee18f
No known key found for this signature in database
GPG key ID: 688C4FBE25D7DEF6

View file

@ -183,7 +183,7 @@ SepPrivilegeCheck(
* Returns TRUE if the required privilege exists and that it matches
* with the one from the access token, FALSE otherwise.
*/
NTSTATUS
BOOLEAN
NTAPI
SepSinglePrivilegeCheck(
_In_ LUID PrivilegeValue,