]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/BaseBmpSupportLib/BmpSupportLib.c
MdeModulePkg/BmpSupportLib: Correct debug message
[mirror_edk2.git] / MdeModulePkg / Library / BaseBmpSupportLib / BmpSupportLib.c
index 467cd6a58db312b51b85c969b7681a82765df0f9..2c23e2c61c963fc94e878c5e77accf186987996d 100644 (file)
@@ -288,7 +288,7 @@ TranslateBmpToGopBlt (
     DEBUG ((\r
       DEBUG_ERROR,\r
       "TranslateBmpToGopBlt: invalid BltBuffer needed size... PixelWidth:0x%x PixelHeight:0x%x\n",\r
-      BltBufferSize\r
+      BmpHeader->PixelWidth, BmpHeader->PixelHeight\r
       ));\r
 \r
     return RETURN_UNSUPPORTED;\r
@@ -304,7 +304,7 @@ TranslateBmpToGopBlt (
   if (EFI_ERROR (Status)) {\r
     DEBUG ((\r
       DEBUG_ERROR,\r
-      "TranslateBmpToGopBlt: invalid BltBuffer needed size... BltBufferSize:0x%lx struct size:0x%x\n",\r
+      "TranslateBmpToGopBlt: invalid BltBuffer needed size... PixelWidth x PixelHeight:0x%x struct size:0x%x\n",\r
       Temp, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL)\r
       ));\r
 \r