diff options
author | Dandan Bi <dandan.bi@intel.com> | 2018-10-05 09:22:20 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-10-09 22:20:18 +0800 |
commit | 959be180e185869b71db9dad34c3f4bba660d724 (patch) | |
tree | 6845992ea6b4b0b865b41ad3c36d87473909c8bc /MdePkg/Library/UefiDevicePathLib | |
parent | 7f8aabef156128976f0c1389c154d25010653215 (diff) | |
download | edk2-959be180e185869b71db9dad34c3f4bba660d724.tar.gz edk2-959be180e185869b71db9dad34c3f4bba660d724.tar.bz2 edk2-959be180e185869b71db9dad34c3f4bba660d724.zip |
MdePkg: Correct the string expression of UTF8 vendor device path
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1225
According to UEFI spec, the string expression of UTF8 vendor
device node should be displayed as: VenUtf8(). Current code
display it as: VenUft8() by mistake when convert device
path node to text.
This commit is to fix this bug.
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'MdePkg/Library/UefiDevicePathLib')
-rw-r--r-- | MdePkg/Library/UefiDevicePathLib/DevicePathToText.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c b/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c index 7d8d304f6f..85f5e97131 100644 --- a/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c +++ b/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c @@ -195,7 +195,7 @@ DevPathToTextVendor ( UefiDevicePathLibCatPrint (Str, L"VenVt100Plus()");
return ;
} else if (CompareGuid (&Vendor->Guid, &gEfiVTUTF8Guid)) {
- UefiDevicePathLibCatPrint (Str, L"VenUft8()");
+ UefiDevicePathLibCatPrint (Str, L"VenUtf8()");
return ;
} else if (CompareGuid (&Vendor->Guid, &gEfiUartDevicePathGuid)) {
FlowControlMap = (((UART_FLOW_CONTROL_DEVICE_PATH *) Vendor)->FlowControlMap);
|