]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/VolInfo: Correct EFI_SECTION_VERSION display
authorKonstantin Aladyshev <aladyshev22@gmail.com>
Mon, 18 Jul 2022 09:43:52 +0000 (17:43 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 24 Jul 2022 15:21:20 +0000 (15:21 +0000)
commitfca5de51e1fd2f3c5ddbf5974d785f0f6b2f6c38
treeebfab5ceaa6c8f79b5429533e0508eea8548c533
parentc0b7679aac90ab6c757bbc61ac4ccfa293ab14df
BaseTools/VolInfo: Correct EFI_SECTION_VERSION display

- Correct typo in print statement,
- "BuildNumber" field is UINT16, therefore it needs "0x%04X" format
modifier,
- "VersionString" field is CHAR16, therefore the input data should be
processed to be displayed with "%s" printf modifier.

Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/C/VolInfo/VolInfo.c