summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdePkg/Include/Library/DebugLib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Library/DebugLib.h b/MdePkg/Include/Library/DebugLib.h
index 4d41c190a0..e249e57925 100644
--- a/MdePkg/Include/Library/DebugLib.h
+++ b/MdePkg/Include/Library/DebugLib.h
@@ -321,7 +321,7 @@ DebugClearMemoryEnabled (
_ASSERT (Guid already installed in database); \
} \
} else { \
- if (!EFI_ERROR (gBS->LocateProtocol (Handle, Guid, &Instance))) { \
+ if (!EFI_ERROR (gBS->LocateProtocol (Guid, Handle, &Instance))) { \
_ASSERT (Guid already installed on Handle); \
} \
} \