ShellPkg: BcfgDisplayDump(): fix ShellPrintEx() call site

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
This commit is contained in:
Laszlo Ersek 2016-01-21 18:40:35 +00:00 committed by lersek
parent 8989625304
commit cf3c9b1884
1 changed files with 0 additions and 1 deletions

View File

@ -1140,7 +1140,6 @@ BcfgDisplayDump(
ShellPrintEx(
-1,
-1,
NULL,
L"%02x",
Buffer[LoopVar2]);
}