From b643f69c98ed373198dc3ae6618eae642a0d409a Mon Sep 17 00:00:00 2001 From: vanjeff Date: Fri, 21 Nov 2008 09:48:41 +0000 Subject: [PATCH] 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 --- MdeModulePkg/Universal/DebugPortDxe/DebugPort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }