提交 a87d46f7 编写于 作者: W Wolfgang Denk

Fix alignment problem in "mtdparts" command

上级 98e43917
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
Changes since U-Boot 1.1.4: Changes since U-Boot 1.1.4:
====================================================================== ======================================================================
* Fix alignment problem in "mtdparts" command
* Add documentation on the latest build environment extensions to * Add documentation on the latest build environment extensions to
the README file. the README file.
......
...@@ -1268,7 +1268,7 @@ static void list_partitions(void) ...@@ -1268,7 +1268,7 @@ static void list_partitions(void)
part_num = 0; part_num = 0;
list_for_each(pentry, &dev->parts) { list_for_each(pentry, &dev->parts) {
part = list_entry(pentry, struct part_info, link); 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_num, part->name, part->size,
part->offset, part->mask_flags); part->offset, part->mask_flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册