summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/DebugPortDxe
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-21 09:48:41 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-21 09:48:41 +0000
commitb643f69c98ed373198dc3ae6618eae642a0d409a (patch)
tree9275a9f0727c0da0c18107a23f5bb4cb9c8a8161 /MdeModulePkg/Universal/DebugPortDxe
parent91fd9c9b839063b04f1fa7cb556a96e241b4808e (diff)
downloadedk2-b643f69c98ed373198dc3ae6618eae642a0d409a.tar.gz
edk2-b643f69c98ed373198dc3ae6618eae642a0d409a.tar.bz2
edk2-b643f69c98ed373198dc3ae6618eae642a0d409a.zip
using the exact device path DEBUGPORT_DEVICE_PATH.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6670 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/DebugPortDxe')
-rw-r--r--MdeModulePkg/Universal/DebugPortDxe/DebugPort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
index 579f45e958..ffe3fb72ec 100644
--- a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
+++ b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
@@ -241,7 +241,7 @@ DebugPortSupported (
if (Status == EFI_SUCCESS &&
(Dp2->Type != MESSAGING_DEVICE_PATH ||
Dp2->SubType != MSG_VENDOR_DP ||
- *((UINT16 *) Dp2->Length) != sizeof (VENDOR_DEVICE_PATH))) {
+ *((UINT16 *) Dp2->Length) != sizeof (DEBUGPORT_DEVICE_PATH))) {
Status = EFI_UNSUPPORTED;
}