summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-08-06 00:51:46 +0200
committerTom Rini <trini@konsulko.com>2021-09-02 09:48:20 -0400
commitd9d8849183a11814d0b5675de922209b26b713db (patch)
tree5de63eb983691a6e0c2025836a7bcb859b4b7d54 /disk
parent15dd9412027e06f8ce0046e7d8de84489a7f34cb (diff)
downloadu-boot-d9d8849183a11814d0b5675de922209b26b713db.tar.gz
cmd/part: correct alignment of partition list
When running 'part list' for an ISO partition the numbers are not under the labels. Correct the alignment of the ISO partition list. With the patch the output looks like: Part Start Sect x Size Type 1 3720 5024 512 U-Boot Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'disk')
-rw-r--r--disk/part_iso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/part_iso.c b/disk/part_iso.c
index 822f2c4d9f..1061f341d3 100644
--- a/disk/part_iso.c
+++ b/disk/part_iso.c
@@ -220,7 +220,7 @@ static void part_print_iso(struct blk_desc *dev_desc)
printf("Part Start Sect x Size Type\n");
i=1;
do {
- printf(" %2d " LBAFU " " LBAFU " %6ld %.32s\n",
+ printf(" %2d %8" LBAFlength "u %8" LBAFlength "u %6ld %.32s\n",
i, info.start, info.size, info.blksz, info.type);
i++;
} while (part_get_info_iso_verb(dev_desc, i, &info, 0) != -1);