Commit a87d46f7327eedead89284a0d0c5e5a769b984b9
1 parent
98e43917dc
Exists in
master
and in
54 other branches
Fix alignment problem in "mtdparts" command
Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff
CHANGELOG
common/cmd_jffs2.c
... | ... | @@ -1268,7 +1268,7 @@ |
1268 | 1268 | part_num = 0; |
1269 | 1269 | list_for_each(pentry, &dev->parts) { |
1270 | 1270 | part = list_entry(pentry, struct part_info, link); |
1271 | - printf(" %d: %-22s\t0x%08x\t0x%08x\t%d\n", | |
1271 | + printf("%2d: %-20s0x%08x\t0x%08x\t%d\n", | |
1272 | 1272 | part_num, part->name, part->size, |
1273 | 1273 | part->offset, part->mask_flags); |
1274 | 1274 |