From 2a9e1b97c9a86a736707388fe5e22cb75c378b35 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Mon, 25 Jun 2018 14:54:33 +0800 Subject: [PATCH] MdeModulePkg/BmpSupportLib: Correct debug message Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni Cc: Michael D Kinney Reviewed-by: Star Zeng --- MdeModulePkg/Library/BaseBmpSupportLib/BmpSupportLib.c | 4 ++-- 1 file 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) )); -- 2.39.2