Date: Fri, 8 Oct 2021 06:10:43 GMT From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: fd85a041dce1 - stable/12 - Fix the EFI_DEBUG case, prio_str is only used when EFI_DEBUG is unset. Message-ID: <202110080610.1986Ahdd007102@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=fd85a041dce194a1f74b306c897c351fe2e22d45 commit fd85a041dce194a1f74b306c897c351fe2e22d45 Author: Andrew Turner <andrew@FreeBSD.org> AuthorDate: 2020-05-05 10:01:10 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2021-10-08 02:42:39 +0000 Fix the EFI_DEBUG case, prio_str is only used when EFI_DEBUG is unset. (cherry picked from commit 4495f3687484e93a55031c415459ca19b030404f) --- stand/efi/boot1/proto.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stand/efi/boot1/proto.c b/stand/efi/boot1/proto.c index 7511cc4cf416..eeb3cd9568a4 100644 --- a/stand/efi/boot1/proto.c +++ b/stand/efi/boot1/proto.c @@ -38,12 +38,14 @@ __FBSDID("$FreeBSD$"); static EFI_GUID BlockIoProtocolGUID = BLOCK_IO_PROTOCOL; static EFI_GUID DevicePathGUID = DEVICE_PATH_PROTOCOL; +#ifndef EFI_DEBUG static const char *prio_str[] = { "error", "not supported", "good", "better" }; +#endif /* * probe_handle determines if the passed handle represents a logical partition
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110080610.1986Ahdd007102>