summaryrefslogtreecommitdiffstats
path: root/ShellPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-01-21 18:40:35 +0000
committerlersek <lersek@Edk2>2016-01-21 18:40:35 +0000
commitcf3c9b1884b9918f9ea509c86c1765cea054ebaa (patch)
tree343c6971b4952b96597cf0caae92e23ded0e25e7 /ShellPkg
parent898962530445979706a2c17e2f8a8c5a573e4e77 (diff)
downloadedk2-cf3c9b1884b9918f9ea509c86c1765cea054ebaa.tar.gz
edk2-cf3c9b1884b9918f9ea509c86c1765cea054ebaa.tar.bz2
edk2-cf3c9b1884b9918f9ea509c86c1765cea054ebaa.zip
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
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
index 028f8523cd..64e427029b 100644
--- a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
+++ b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
@@ -1140,7 +1140,6 @@ BcfgDisplayDump(
ShellPrintEx(
-1,
-1,
- NULL,
L"%02x",
Buffer[LoopVar2]);
}