From: Laszlo Ersek Date: Thu, 21 Jan 2016 18:40:35 +0000 (+0000) Subject: ShellPkg: BcfgDisplayDump(): fix ShellPrintEx() call site X-Git-Tag: edk2-stable201903~7980 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=cf3c9b1884b9918f9ea509c86c1765cea054ebaa 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 Cc: Ryan Harkin Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jaben Carsey git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19716 6f19259b-4bc3-4df7-8a09-765794883524 --- 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]); }