Author: akhaldi
Date: Tue Dec 21 20:28:21 2010
New Revision: 50082
URL:
http://svn.reactos.org/svn/reactos?rev=50082&view=rev
Log:
[NTOSKRNL]
- Fix an assign where a comparison was intended. CID 2626.
Modified:
trunk/reactos/ntoskrnl/io/iomgr/driver.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/driver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/driver.c…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/driver.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/driver.c [iso-8859-1] Tue Dec 21 20:28:21 2010
@@ -993,7 +993,7 @@
&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;