From 9c07c9ec0e68c00bff3f4368ee232d5428d5b9e2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 14 Jun 2021 17:01:27 +0200 Subject: repart: align all sizes in table to the right --- src/partition/repart.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/partition/repart.c b/src/partition/repart.c index cd2d02a3b8..2fb4e2ec46 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -1986,8 +1986,13 @@ static int context_dump_partitions(Context *context, const char *node) { (size_t) 5, (size_t) 6, (size_t) 7, (size_t) 9, (size_t) 10, (size_t) 12); } - (void) table_set_align_percent(t, table_get_cell(t, 0, 4), 100); (void) table_set_align_percent(t, table_get_cell(t, 0, 5), 100); + (void) table_set_align_percent(t, table_get_cell(t, 0, 6), 100); + (void) table_set_align_percent(t, table_get_cell(t, 0, 7), 100); + (void) table_set_align_percent(t, table_get_cell(t, 0, 8), 100); + (void) table_set_align_percent(t, table_get_cell(t, 0, 9), 100); + (void) table_set_align_percent(t, table_get_cell(t, 0, 10), 100); + (void) table_set_align_percent(t, table_get_cell(t, 0, 11), 100); LIST_FOREACH(partitions, p, context->partitions) { _cleanup_free_ char *size_change = NULL, *padding_change = NULL, *partname = NULL; -- cgit v1.2.1