From a87d46f7327eedead89284a0d0c5e5a769b984b9 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Wed, 13 Sep 2006 10:23:06 +0200 Subject: [PATCH] Fix alignment problem in "mtdparts" command --- CHANGELOG | 2 ++ common/cmd_jffs2.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 4265049a2e..4e9cf16489 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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. diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c index 201c3c1553..b5fd41724f 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); -- 2.30.2