- Bugzilla Bug 1340: fix of an incorrect RtlCompareMemory call in ntoskrnl (by w3seek)

svn path=/trunk/; revision=21524
This commit is contained in:
Aleksey Bragin 2006-04-09 11:47:30 +00:00
parent 062d01efe2
commit 80e1facc71

View file

@ -608,7 +608,7 @@ IopGetBusTypeGuidIndex(LPGUID BusTypeGuid)
/* Try to find a match */
if (RtlCompareMemory(BusTypeGuid,
&IopBusTypeGuidList->Guids[i],
sizeof(GUID)))
sizeof(GUID)) == sizeof(GUID))
{
/* Found it */
FoundIndex = i;