Date: Fri, 1 Apr 2022 03:43:48 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: c3eec165508b - stable/12 - libefivar: Correct the string expression of UTF8 vendor device path Message-ID: <202204010343.2313hmL0042806@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=c3eec165508b47b3474a8b27c29712135ea0d137 commit c3eec165508b47b3474a8b27c29712135ea0d137 Author: Jose Luis Duran <jlduran@gmail.com> AuthorDate: 2022-02-22 11:39:03 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-04-01 03:43:35 +0000 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: https://github.com/tianocore/edk2/commit/959be180e185869b71db9dad34c3f4bba660d724 Pull Request: https://github.com/freebsd/freebsd-src/pull/580 (cherry picked from commit 91a35e5803bef59b8ca67b0621216124cc2e42f8) --- lib/libefivar/efivar-dp-format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libefivar/efivar-dp-format.c b/lib/libefivar/efivar-dp-format.c index 274c2fccd622..a063dcff2218 100644 --- a/lib/libefivar/efivar-dp-format.c +++ b/lib/libefivar/efivar-dp-format.c @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204010343.2313hmL0042806>