loader.efi: |= the boot flags how

how is assumed to be 0, so we directly assign to it. It might not always
be 0, so or-in these bits.

Sponsored by:		Netflix
Reviewed by:		bz, andrew
Differential Revision:	https://reviews.freebsd.org/D47084
This commit is contained in:
Warner Losh 2024-10-15 05:11:02 -06:00
parent c5f3a7f622
commit 94164106c0

View File

@ -767,9 +767,9 @@ parse_uefi_con_out(void)
* all the other more common cases).
*/
if (efi_has_gop())
how = RB_MULTIPLE;
how |= RB_MULTIPLE;
else
how = RB_MULTIPLE | RB_SERIAL;
how |= RB_MULTIPLE | RB_SERIAL;
setenv("console", "efi,comconsole", 1);
goto out;
}