]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: BcfgDisplayDump(): fix ShellPrintEx() call site
authorLaszlo Ersek <lersek@redhat.com>
Thu, 21 Jan 2016 18:40:35 +0000 (18:40 +0000)
committerlersek <lersek@Edk2>
Thu, 21 Jan 2016 18:40:35 +0000 (18:40 +0000)
This is likely a copy & paste error from the preceding ShellPrintHiiEx()
function call. ShellPrintEx() takes no Language parameter, so remove the
NULL argument, which is currently misinterpreted as a format string.

This bug prevents the hexdump of optional data even when -v is passed to
BCFG, and optional data exist.

Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ryan Harkin <ryan.harkin@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19716 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c

index 028f8523cd1d4db3e64628e16a86475c753b282e..64e427029b55e1d32cea7a6216139c79136e7e90 100644 (file)
@@ -1140,7 +1140,6 @@ BcfgDisplayDump(
         ShellPrintEx(\r
           -1,\r
           -1,\r
-          NULL,\r
           L"%02x",\r
           Buffer[LoopVar2]);\r
       }\r