Fix alignment problem in "mtdparts" command

This commit is contained in:
Wolfgang Denk 2006-09-13 10:23:06 +02:00
parent 98e43917dc
commit a87d46f732
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
Changes since U-Boot 1.1.4:
======================================================================
* Fix alignment problem in "mtdparts" command
* Add documentation on the latest build environment extensions to
the README file.

View File

@ -1268,7 +1268,7 @@ static void list_partitions(void)
part_num = 0;
list_for_each(pentry, &dev->parts) {
part = list_entry(pentry, struct part_info, link);
printf(" %d: %-22s\t0x%08x\t0x%08x\t%d\n",
printf("%2d: %-20s0x%08x\t0x%08x\t%d\n",
part_num, part->name, part->size,
part->offset, part->mask_flags);