[NTOSKRNL]

- Fix an assign where a comparison was intended. CID 2626.

svn path=/trunk/; revision=50082
This commit is contained in:
Amine Khaldi 2010-12-21 20:28:21 +00:00
parent 604d4c9de8
commit a2ca649780

View file

@ -993,7 +993,7 @@ IopInitializeBootDrivers(VOID)
&BootEntry->RegistryPath,
KEY_READ);
if ((NT_SUCCESS(Status)) || /* ReactOS HACK for SETUPLDR */
((KeLoaderBlock->SetupLdrBlock) && (KeyHandle = (PVOID)1)))
((KeLoaderBlock->SetupLdrBlock) && (KeyHandle == (PVOID)1)))
{
/* Save the handle */
DriverInfo->ServiceHandle = KeyHandle;