diff options
author | Liming Gao <liming.gao@intel.com> | 2017-12-28 14:34:14 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2017-12-28 15:21:39 +0800 |
commit | 3958242febc11e418378939f05a6f357d9d84d3f (patch) | |
tree | 0ac653fc0ce6c456871a37cdc8188853b902f75e /MdeModulePkg | |
parent | a8e786e8b29de5d1c71d3865506c5cc2df9512a2 (diff) | |
download | edk2-3958242febc11e418378939f05a6f357d9d84d3f.tar.gz edk2-3958242febc11e418378939f05a6f357d9d84d3f.tar.bz2 edk2-3958242febc11e418378939f05a6f357d9d84d3f.zip |
MdeModulePkg PeiCore: Update debug message to print FV handle correctly
BfvHeader->FvLength is UINT64. Now, it prints with %x. It will cause the
late FvHandle to be as zero. So, its type is converted to UINT32.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Core/Pei/FwVol/FwVol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Core/Pei/FwVol/FwVol.c b/MdeModulePkg/Core/Pei/FwVol/FwVol.c index 7cb295c2c6..8009546acd 100644 --- a/MdeModulePkg/Core/Pei/FwVol/FwVol.c +++ b/MdeModulePkg/Core/Pei/FwVol/FwVol.c @@ -514,7 +514,7 @@ PeiInitializeFv ( "The %dth FV start address is 0x%11p, size is 0x%08x, handle is 0x%p\n",
(UINT32) PrivateData->FvCount,
(VOID *) BfvHeader,
- BfvHeader->FvLength,
+ (UINT32) BfvHeader->FvLength,
FvHandle
));
PrivateData->FvCount ++;
|