git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@202 6f19259b...
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 19 May 2006 10:39:41 +0000 (10:39 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 19 May 2006 10:39:41 +0000 (10:39 +0000)
MdePkg/Include/Library/DebugLib.h

index e249e5792588f776131a25d4d192ca88eff015e4..82f9e6fdbac5f5cb0c241bef143d0c441631b08c 100644 (file)
@@ -321,7 +321,7 @@ DebugClearMemoryEnabled (
           _ASSERT (Guid already installed in database);                    \\r
         }                                                                  \\r
       } else {                                                             \\r
-        if (!EFI_ERROR (gBS->LocateProtocol (Guid, Handle, &Instance))) {  \\r
+        if (!EFI_ERROR (gBS->HandleProtocol (Guid, Handle, &Instance))) {  \\r
           _ASSERT (Guid already installed on Handle);                      \\r
         }                                                                  \\r
       }                                                                    \\r