Skip to contentSkip to conversation

mtdpart command: align output columns

PATCH New David Brownell 2 participants 2 messages Apr 17, 2009 – Apr 27, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtdpart command: align output columns

From: David Brownell <[email protected]>

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

common/cmd_mtdparts.c +1 -1
@@ -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;
#1 lore raw

PATCH 1/1 mtdpart command: align output columns

Dear David Brownell,

Quoted 6 lines · In message <[email protected]> you wrote:

From: David Brownell <[email protected]>

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

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
God made the integers; all else is the work of Man.       - Kronecker