diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-01-21 18:40:35 +0000 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-13 20:41:41 +0800 |
commit | 077a36e6a8f654f658a61f1ce5607e5027ac817b (patch) | |
tree | 60d996fd88d18f910ea25b986e4779f511d1cedd /ShellPkg/Library | |
parent | 88e75ba717966e6711399c111d0fe04599282db6 (diff) | |
download | edk2-platforms-077a36e6a8f654f658a61f1ce5607e5027ac817b.tar.xz |
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
(cherry picked from commit cf3c9b1884b9918f9ea509c86c1765cea054ebaa)
Diffstat (limited to 'ShellPkg/Library')
-rw-r--r-- | ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c | 1 |
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]);
}
|