summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/efi.c b/cmd/efi.c
index 366a79a964..919cb2fcfd 100644
--- a/cmd/efi.c
+++ b/cmd/efi.c
@@ -173,7 +173,7 @@ static void efi_print_mem_table(struct efi_entry_memmap *map,
bool first;
int j;
- printf("%c%llx: ", attr & EFI_MEMORY_RUNTIME ? 'r' : ' ',
+ printf("%c%llx: ", (attr & EFI_MEMORY_RUNTIME) ? 'r' : ' ',
attr & ~EFI_MEMORY_RUNTIME);
for (j = 0, first = true; j < ARRAY_SIZE(mem_attr); j++) {
if (attr & mem_attr[j].val) {