diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-06-25 14:54:33 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-07-03 11:21:32 +0800 |
commit | 2a9e1b97c9a86a736707388fe5e22cb75c378b35 (patch) | |
tree | 62be487b02acb72f616ad3331ab62b4e99f07431 /MdeModulePkg | |
parent | aa4240edff41034d709938a15b42cf4fd3214386 (diff) | |
download | edk2-2a9e1b97c9a86a736707388fe5e22cb75c378b35.tar.gz edk2-2a9e1b97c9a86a736707388fe5e22cb75c378b35.tar.bz2 edk2-2a9e1b97c9a86a736707388fe5e22cb75c378b35.zip |
MdeModulePkg/BmpSupportLib: Correct debug message
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Library/BaseBmpSupportLib/BmpSupportLib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Library/BaseBmpSupportLib/BmpSupportLib.c b/MdeModulePkg/Library/BaseBmpSupportLib/BmpSupportLib.c index 467cd6a58d..2c23e2c61c 100644 --- a/MdeModulePkg/Library/BaseBmpSupportLib/BmpSupportLib.c +++ b/MdeModulePkg/Library/BaseBmpSupportLib/BmpSupportLib.c @@ -288,7 +288,7 @@ TranslateBmpToGopBlt ( DEBUG ((
DEBUG_ERROR,
"TranslateBmpToGopBlt: invalid BltBuffer needed size... PixelWidth:0x%x PixelHeight:0x%x\n",
- BltBufferSize
+ BmpHeader->PixelWidth, BmpHeader->PixelHeight
));
return RETURN_UNSUPPORTED;
@@ -304,7 +304,7 @@ TranslateBmpToGopBlt ( if (EFI_ERROR (Status)) {
DEBUG ((
DEBUG_ERROR,
- "TranslateBmpToGopBlt: invalid BltBuffer needed size... BltBufferSize:0x%lx struct size:0x%x\n",
+ "TranslateBmpToGopBlt: invalid BltBuffer needed size... PixelWidth x PixelHeight:0x%x struct size:0x%x\n",
Temp, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL)
));
|