Author: andrew
Date: Tue May 5 10:01:10 2020
New Revision: 360655
URL: https://svnweb.freebsd.org/changeset/base/360655
Log:
Fix the EFI_DEBUG case, prio_str is only used when EFI_DEBUG is unset.
Sponsored by: Innovate UK
Modified:
head/stand/efi/boot1/proto.c
Modified: head/stand/efi/boot1/proto.c
==============================================================================
--- head/stand/efi/boot1/proto.c Tue May 5 09:42:26 2020
(r360654)
+++ head/stand/efi/boot1/proto.c Tue May 5 10:01:10 2020
(r360655)
@@ -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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"