Commit 0f5db954 authored by Alex Pasadyn's avatar Alex Pasadyn Committed by Alexandre Julliard

Fix buffer length error code for NtQueryInformationToken.

parent 03486498
...@@ -225,7 +225,7 @@ NTSTATUS WINAPI NtQueryInformationToken( ...@@ -225,7 +225,7 @@ NTSTATUS WINAPI NtQueryInformationToken(
*retlen = len; *retlen = len;
if (tokeninfolength < len) if (tokeninfolength < len)
return STATUS_INFO_LENGTH_MISMATCH; return STATUS_BUFFER_TOO_SMALL;
switch (tokeninfoclass) switch (tokeninfoclass)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment