diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-12-04 18:07:18 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2023-12-13 01:56:48 +0100 |
commit | 748e87a7911813d64e34f2366df842b210a27f11 (patch) | |
tree | ea18f5ed871069b7777ba7e212470f8caba54f7d /src/dissect | |
parent | openssl-util: avoid freeing invalid pointer (diff) | |
download | systemd-748e87a7911813d64e34f2366df842b210a27f11.tar.xz systemd-748e87a7911813d64e34f2366df842b210a27f11.zip |
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.
Diffstat (limited to 'src/dissect')
-rw-r--r-- | src/dissect/dissect.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |