summaryrefslogtreecommitdiffstats
path: root/src/partition/repart.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-06-14 17:01:27 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-06-14 22:39:33 +0200
commit9c07c9ec0e68c00bff3f4368ee232d5428d5b9e2 (patch)
tree1272c724a32cf49e81039f657ec6a85d582f915d /src/partition/repart.c
parenttest: correctly configure the NUMA node memory pool (diff)
downloadsystemd-9c07c9ec0e68c00bff3f4368ee232d5428d5b9e2.tar.xz
systemd-9c07c9ec0e68c00bff3f4368ee232d5428d5b9e2.zip
repart: align all sizes in table to the right
Diffstat (limited to '')
-rw-r--r--src/partition/repart.c7
1 files changed, 6 insertions, 1 deletions
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;