]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Fix alignment problem in "mtdparts" command
authorWolfgang Denk <wd@pollux.denx.de>
Wed, 13 Sep 2006 08:23:06 +0000 (10:23 +0200)
committerWolfgang Denk <wd@pollux.denx.de>
Wed, 13 Sep 2006 08:23:06 +0000 (10:23 +0200)
CHANGELOG
common/cmd_jffs2.c

index 4265049a2e9a16111c93904109c5f48024fea5cc..4e9cf16489a34d6d9eeb0f1504479562020597fd 100644 (file)
--- 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.
 
index 201c3c1553c3451c7f4402c7ad3a0127ad38bf9b..b5fd41724f6a4eb3c831e37d69765ebb1e3d02c7 100644 (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);