Author: fireball
Date: Sun Apr 9 15:47:30 2006
New Revision: 21524
URL:
http://svn.reactos.ru/svn/reactos?rev=21524&view=rev
Log:
- Bugzilla Bug 1340: fix of an incorrect RtlCompareMemory call in ntoskrnl (by w3seek)
Modified:
trunk/reactos/ntoskrnl/io/pnpmgr.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr.c?rev=21…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr.c (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr.c Sun Apr 9 15:47:30 2006
@@ -608,7 +608,7 @@
/* Try to find a match */
if (RtlCompareMemory(BusTypeGuid,
&IopBusTypeGuidList->Guids[i],
- sizeof(GUID)))
+ sizeof(GUID)) == sizeof(GUID))
{
/* Found it */
FoundIndex = i;