Revert preference to be an int.

While in base we use it as a boolean (of the wrong spelling), there's
at least one out of tree user that needs it to be int since priorirty
is a small int, not a 0/1. In deference to the time it's wasted me and
my team, push this up into FreeBSD for whatever short life boot1 may
have in the tree.
This commit is contained in:
Warner Losh 2018-06-28 19:42:10 +00:00
parent 52b7824bde
commit b77bd037a1

View File

@ -51,7 +51,7 @@ typedef struct dev_info
EFI_HANDLE *devhandle; EFI_HANDLE *devhandle;
void *devdata; void *devdata;
uint64_t partoff; uint64_t partoff;
BOOLEAN preferred; int preferred;
struct dev_info *next; struct dev_info *next;
} dev_info_t; } dev_info_t;