From 0f5db95401c16e0623b010ef227584409ed3657e Mon Sep 17 00:00:00 2001 From: Alex Pasadyn Date: Mon, 6 Oct 2003 21:04:06 +0000 Subject: [PATCH] Fix buffer length error code for NtQueryInformationToken. --- dlls/ntdll/nt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c index e5e8bbbdf8f..5c2ed555fc7 100644 --- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -225,7 +225,7 @@ NTSTATUS WINAPI NtQueryInformationToken( *retlen = len; if (tokeninfolength < len) - return STATUS_INFO_LENGTH_MISMATCH; + return STATUS_BUFFER_TOO_SMALL; switch (tokeninfoclass) {