Fix the EFI_DEBUG case, prio_str is only used when EFI_DEBUG is unset.

Sponsored by:	Innovate UK
This commit is contained in:
andrew 2020-05-05 10:01:10 +00:00
parent c1a6b85e91
commit 872a7d3a25

View File

@ -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