diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-03-20 22:13:54 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2021-03-23 15:52:59 +0000 |
commit | f19384b43f52f1c70a3065b9f8029ade4e8bb922 (patch) | |
tree | 022a9a1bc7317d84a7128046b1c4484645068842 | |
parent | 86b86107942e84de4eb22944251694c0ae21b3ee (diff) | |
download | systemd-f19384b43f52f1c70a3065b9f8029ade4e8bb922.tar.gz systemd-f19384b43f52f1c70a3065b9f8029ade4e8bb922.tar.bz2 systemd-f19384b43f52f1c70a3065b9f8029ade4e8bb922.zip |
repart: remove spurious empty double newlines
-rw-r--r-- | src/partition/repart.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/partition/repart.c b/src/partition/repart.c index 7b6201efa8..f6d337ee2b 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -2994,8 +2994,6 @@ static int partition_acquire_label(Context *context, Partition *p, char **ret) { break; label = mfree(label); - - if (asprintf(&label, "%s-%u", prefix, ++k) < 0) return log_oom(); } |