From 748e87a7911813d64e34f2366df842b210a27f11 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 4 Dec 2023 18:07:18 +0100 Subject: [PATCH] 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. --- src/dissect/dissect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dissect/dissect.c b/src/dissect/dissect.c index dc753b461c..92432b6fed 100644 --- a/src/dissect/dissect.c +++ b/src/dissect/dissect.c @@ -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; -- 2.25.1