mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
libefivar: Correct the string expression of UTF8 vendor device path
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.
Upstream Bug: https://bugzilla.tianocore.org/show_bug.cgi?id=1225
Obtained from: 959be180e1
Pull Request: https://github.com/freebsd/freebsd-src/pull/580
This commit is contained in:
parent
521dbfd6b1
commit
91a35e5803
|
@ -255,7 +255,7 @@ DevPathToTextVendor (
|
|||
UefiDevicePathLibCatPrint (Str, "VenVt100Plus()");
|
||||
return ;
|
||||
} else if (CompareGuid (&Vendor->Guid, &gEfiVTUTF8Guid)) {
|
||||
UefiDevicePathLibCatPrint (Str, "VenUft8()");
|
||||
UefiDevicePathLibCatPrint (Str, "VenUtf8()");
|
||||
return ;
|
||||
} else if (CompareGuid (&Vendor->Guid, &gEfiUartDevicePathGuid)) {
|
||||
FlowControlMap = (((UART_FLOW_CONTROL_DEVICE_PATH *) Vendor)->FlowControlMap);
|
||||
|
|
Loading…
Reference in a new issue