[ADVAPI32]

Fixed broken build.

svn path=/trunk/; revision=56681
This commit is contained in:
Eric Kohl 2012-05-31 14:18:59 +00:00
parent ba744e9859
commit 15425106b9

View file

@ -404,7 +404,6 @@ GetUserSid(LPCWSTR UserName,
ULONG ulUserRid;
DWORD dwLength;
HKEY hNamesKey = NULL;
LONG lError;
BOOL bResult = TRUE;
if (!GetAccountDomainSid(&AccountDomainSid))
@ -433,7 +432,7 @@ GetUserSid(LPCWSTR UserName,
(LPBYTE)&ulUserRid,
&dwLength))
{
ERR("Failed to read the SID! (Error %ld)\n", lError);
ERR("Failed to read the SID! (Error %ld)\n", GetLastError());
bResult = FALSE;
goto done;
}