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 Turner 2020-05-05 10:01:10 +00:00
parent 3d5e12ebce
commit 4495f36874

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