[U-Boot] [patch u-boot git] mtdpart command: align output columns

David Brownell david-b at pacbell.net
Fri Apr 17 04:55:48 CEST 2009


From: David Brownell <dbrownell at users.sourceforge.net>

Make the headers in the "mtdparts" command output line up
with their columns ... strike the extra TAB character.

Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>

--- a/common/cmd_mtdparts.c
+++ b/common/cmd_mtdparts.c
@@ -1314,7 +1314,7 @@ static void list_partitions(void)
 		printf("\ndevice %s%d <%s>, # parts = %d\n",
 				MTD_DEV_TYPE(dev->id->type), dev->id->num,
 				dev->id->mtd_id, dev->num_parts);
-		printf(" #: name\t\t\tsize\t\toffset\t\tmask_flags\n");
+		printf(" #: name\t\tsize\t\toffset\t\tmask_flags\n");
 
 		/* list partitions for given device */
 		part_num = 0;


More information about the U-Boot mailing list