efivars: do binary and before converting to bool
I'm pretty sure that this is what was meant here.
This commit is contained in:
@@ -339,7 +339,7 @@ int efi_get_boot_option(
|
||||
p = NULL;
|
||||
}
|
||||
if (active)
|
||||
*active = !!header->attr & LOAD_OPTION_ACTIVE;
|
||||
*active = !!(header->attr & LOAD_OPTION_ACTIVE);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user