Author: ekohl
Date: Thu May 31 14:18:59 2012
New Revision: 56681
URL:
http://svn.reactos.org/svn/reactos?rev=56681&view=rev
Log:
[ADVAPI32]
Fixed broken build.
Modified:
trunk/reactos/dll/win32/advapi32/misc/logon.c
Modified: trunk/reactos/dll/win32/advapi32/misc/logon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/misc/lo…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/misc/logon.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/misc/logon.c [iso-8859-1] Thu May 31 14:18:59 2012
@@ -404,7 +404,6 @@
ULONG ulUserRid;
DWORD dwLength;
HKEY hNamesKey = NULL;
- LONG lError;
BOOL bResult = TRUE;
if (!GetAccountDomainSid(&AccountDomainSid))
@@ -433,7 +432,7 @@
(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;
}