repart: align all sizes in table to the right

This commit is contained in:
Lennart Poettering
2021-06-15 05:39:33 +09:00
committed by Yu Watanabe
parent 785256a320
commit 9c07c9ec0e
+6 -1
View File
@@ -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;