]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
ShellPkg SmbiosView: Eliminate trailing " | " in PrintBitsInfo()
authorStar Zeng <star.zeng@intel.com>
Wed, 18 Jan 2017 08:53:33 +0000 (16:53 +0800)
committerStar Zeng <star.zeng@intel.com>
Fri, 10 Feb 2017 08:18:13 +0000 (16:18 +0800)
commitd4c109da73db88713d0a3a274923cbe4316705ab
treec6a8edd785804eb6c4be576e422d0df7371864ea
parent4b5d69d3020841d624ae7c4bf886002b6dbcc654
ShellPkg SmbiosView: Eliminate trailing " | " in PrintBitsInfo()

Current PrintBitsInfo() will always print an additional trailing
" | " for the bit flags, for example,

Base Board Feature Flags: Hosting board |  Replaceable |

Th patch is to eliminate trailing " | " in PrintBitsInfo(), then
the output will be like below

Base Board Feature Flags: Hosting board |  Replaceable

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c