From b77bd037a1907c56973994a5bfb4a2a434c6a1bb Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 28 Jun 2018 19:42:10 +0000 Subject: [PATCH] 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. --- stand/efi/boot1/boot_module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/efi/boot1/boot_module.h b/stand/efi/boot1/boot_module.h index 891694ee101d..43d52b2e8ade 100644 --- a/stand/efi/boot1/boot_module.h +++ b/stand/efi/boot1/boot_module.h @@ -51,7 +51,7 @@ typedef struct dev_info EFI_HANDLE *devhandle; void *devdata; uint64_t partoff; - BOOLEAN preferred; + int preferred; struct dev_info *next; } dev_info_t;