From 4495f3687484e93a55031c415459ca19b030404f Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Tue, 5 May 2020 10:01:10 +0000 Subject: [PATCH] Fix the EFI_DEBUG case, prio_str is only used when EFI_DEBUG is unset. Sponsored by: Innovate UK --- 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 7511cc4cf41..eeb3cd9568a 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