diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-06-14 17:01:48 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-06-15 05:39:33 +0900 |
commit | 05a2166a068f54d59d68590a81369768c2eb657b (patch) | |
tree | 6f68d52bbe4e58314e7ff354748bc79dd80fcc74 | |
parent | 9c07c9ec0e68c00bff3f4368ee232d5428d5b9e2 (diff) | |
download | systemd-05a2166a068f54d59d68590a81369768c2eb657b.tar.gz |
repart: show partitions we don't grow/create as "unchanged"
The previous string was "unknown", but that's wrong, because we *do*
know what we are going to do with those partitions: we leave them
unmodified, hence say "unchanged" in the output, to be clearer.
-rw-r--r-- | src/partition/repart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partition/repart.c b/src/partition/repart.c index 2fb4e2ec46..824cfe8cf7 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -2037,7 +2037,7 @@ static int context_dump_partitions(Context *context, const char *node) { TABLE_UINT64, p->current_padding == UINT64_MAX ? 0 : p->current_padding, TABLE_UINT64, p->new_padding, TABLE_STRING, padding_change, TABLE_SET_COLOR, !p->partitions_next && sum_padding > 0 ? ansi_underline() : NULL, - TABLE_STRING, activity ?: "unknown"); + TABLE_STRING, activity ?: "unchanged"); if (r < 0) return table_log_add_error(r); } |