summaryrefslogtreecommitdiff
path: root/common/cmd_jffs2.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-09-13 10:23:06 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-09-13 10:23:06 +0200
commita87d46f7327eedead89284a0d0c5e5a769b984b9 (patch)
tree63abb166c893274f3e96120b7f62fe6d1ff197fb /common/cmd_jffs2.c
parent98e43917dc89631c46d0b8eb481345041912ebee (diff)
downloadu-boot-imx-a87d46f7327eedead89284a0d0c5e5a769b984b9.zip
u-boot-imx-a87d46f7327eedead89284a0d0c5e5a769b984b9.tar.gz
u-boot-imx-a87d46f7327eedead89284a0d0c5e5a769b984b9.tar.bz2
Fix alignment problem in "mtdparts" command
Diffstat (limited to 'common/cmd_jffs2.c')
-rw-r--r--common/cmd_jffs2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c
index 201c3c1..b5fd417 100644
--- a/common/cmd_jffs2.c
+++ b/common/cmd_jffs2.c
@@ -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);