mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-13 12:58:20 +03:00
dissect-tool: right-align the partition number
The right-alignment was applied to the wrong column, because neither ee8e497d249ab2e2df92aa024274f5b817270114 nor 1474d7ac2d308204e599a2502a8b5625bca76bcc updated the column count as they should have. (cherry picked from commit 748e87a7911813d64e34f2366df842b210a27f11) (cherry picked from commit 8ff96162aa7e724fc0137afab9ad35ec662909df) (cherry picked from commit 99fdfaa5076b530c02b6f87cd1ab23612ecd251a)
This commit is contained in:
parent
3786a2ed42
commit
5794ad609c
@ -731,7 +731,7 @@ static int action_dissect(DissectedImage *m, LoopDevice *d) {
|
||||
return log_oom();
|
||||
|
||||
table_set_ersatz_string(t, TABLE_ERSATZ_DASH);
|
||||
(void) table_set_align_percent(t, table_get_cell(t, 0, 7), 100);
|
||||
(void) table_set_align_percent(t, table_get_cell(t, 0, 9), 100);
|
||||
|
||||
for (PartitionDesignator i = 0; i < _PARTITION_DESIGNATOR_MAX; i++) {
|
||||
DissectedPartition *p = m->partitions + i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user