diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/efivars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/efivars.c b/src/shared/efivars.c index 2599a1aba1..6908f23e38 100644 --- a/src/shared/efivars.c +++ b/src/shared/efivars.c @@ -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; } |