summaryrefslogtreecommitdiff
path: root/util/nvramtool/lbtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/nvramtool/lbtable.c')
-rw-r--r--util/nvramtool/lbtable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/nvramtool/lbtable.c b/util/nvramtool/lbtable.c
index fd6c9ec1d6..6993cc0ce5 100644
--- a/util/nvramtool/lbtable.c
+++ b/util/nvramtool/lbtable.c
@@ -632,8 +632,8 @@ static void memory_print_fn(const struct lb_record *rec)
break;
}
- size = unpack_lb64(ranges[i].size);
- start = unpack_lb64(ranges[i].start);
+ size = ranges[i].size;
+ start = ranges[i].start;
end = start + size - 1;
printf("%s memory:\n"
" from physical addresses 0x%016" PRIx64