summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/cbmem/cbmem.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c
index c537a7ae66..b1c2f89515 100644
--- a/util/cbmem/cbmem.c
+++ b/util/cbmem/cbmem.c
@@ -1185,11 +1185,10 @@ static void cbmem_print_entry(int n, uint32_t id, uint64_t base, uint64_t size)
printf("%2d. ", n);
if (name == NULL)
- printf("\t\t%08x", id);
- else
- printf("%s\t%08x", name, id);
+ name = "(unknown)";
+ printf("%-20s %08x", name, id);
printf(" %08" PRIx64 " ", base);
- printf(" %08" PRIx64 "\n", size);
+ printf(" %08" PRIx64 "\n", size);
}
static void dump_cbmem_toc(void)
@@ -1204,7 +1203,8 @@ static void dump_cbmem_toc(void)
return;
printf("CBMEM table of contents:\n");
- printf(" NAME ID START LENGTH\n");
+ printf(" %-20s %-8s %-8s %-8s\n", "NAME", "ID", "START",
+ "LENGTH");
i = 0;
offset = 0;