From 2e6a9d7599eddb8ef2718d51b79946e10fe3e753 Mon Sep 17 00:00:00 2001 From: kevans Date: Wed, 20 Feb 2019 18:46:31 +0000 Subject: [PATCH] MFC r335773: 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 891694ee101..43d52b2e8ad 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; -- 2.45.0