The branch stable/12 has been updated by kevans:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=fd85a041dce194a1f74b306c897c351fe2e22d45

commit fd85a041dce194a1f74b306c897c351fe2e22d45
Author:     Andrew Turner <[email protected]>
AuthorDate: 2020-05-05 10:01:10 +0000
Commit:     Kyle Evans <[email protected]>
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

Reply via email to