apps/tests/tokentest.c

* Fix stupidity that prevented tokentest
  from compiling

svn path=/trunk/; revision=3114
This commit is contained in:
joeg 2002-06-17 23:13:35 +00:00
parent 941ae04aa2
commit 57c8a1c6e3

View file

@ -488,10 +488,10 @@ main(int argc, char** argv[])
NTSTATUS Status;
HANDLE hSystemToken;
CHAR buffer[512];
HANDLE hOurToken;
printf("Current process Token:\n");
HANDLE hOurToken;
Status=ZwOpenProcessToken(GetCurrentProcess(), TOKEN_QUERY|TOKEN_QUERY_SOURCE, &hOurToken);
if ( NT_SUCCESS(Status) )
{