dissect-tool: right-align the partition number

The right-alignment was applied to the wrong column, because neither
ee8e497d24 nor
1474d7ac2d updated the column count as
they should have.
This commit is contained in:
Lennart Poettering
2023-12-13 00:56:48 +00:00
committed by Luca Boccassi
parent 38e1035bef
commit 748e87a791
+1 -1
View File
@@ -960,7 +960,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;