X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBasePrintLib%2FPrintLibInternal.c;h=1b854906559be0c3ffe9973506ac6ee093dc405c;hp=085d37f151cf94cbbfd8f7978e7b045397edc40e;hb=244bff4e1468914c6b59d0317774edd2d52f85c1;hpb=4ec21e8b50845e0a89a8d93f3909e4522ee6b434 diff --git a/MdePkg/Library/BasePrintLib/PrintLibInternal.c b/MdePkg/Library/BasePrintLib/PrintLibInternal.c index 085d37f151..1b85490655 100644 --- a/MdePkg/Library/BasePrintLib/PrintLibInternal.c +++ b/MdePkg/Library/BasePrintLib/PrintLibInternal.c @@ -1,7 +1,7 @@ /** @file Print Library internal worker functions. - Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -636,9 +636,9 @@ BasePrintLibSPrintMarker ( MAXIMUM_VALUE_CHARACTERS, 0, "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x", - TmpGuid->Data1, - TmpGuid->Data2, - TmpGuid->Data3, + ReadUnaligned32 (&(TmpGuid->Data1)), + ReadUnaligned16 (&(TmpGuid->Data2)), + ReadUnaligned16 (&(TmpGuid->Data3)), TmpGuid->Data4[0], TmpGuid->Data4[1], TmpGuid->Data4[2],