From 80e1facc711d7d03ff8c5fb76d49dd8f44fca0f0 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Sun, 9 Apr 2006 11:47:30 +0000 Subject: [PATCH] - Bugzilla Bug 1340: fix of an incorrect RtlCompareMemory call in ntoskrnl (by w3seek) svn path=/trunk/; revision=21524 --- reactos/ntoskrnl/io/pnpmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/io/pnpmgr.c b/reactos/ntoskrnl/io/pnpmgr.c index b81ce258aff..182bccf055a 100644 --- a/reactos/ntoskrnl/io/pnpmgr.c +++ b/reactos/ntoskrnl/io/pnpmgr.c @@ -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;