]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
repart: reword log message 19365/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 19 Apr 2021 13:43:01 +0000 (15:43 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 21 Apr 2021 15:51:24 +0000 (17:51 +0200)
The UUID does not exist, a partion with the UUID exists. So let's
say that the UUID is "already used" for clarity.

src/partition/repart.c

index 38e65195ac606f0c9c5a3dc7f731128e302b42c1..3e88d382059c1729737aad7dc2747a0d619f8fb4 100644 (file)
@@ -3116,7 +3116,7 @@ static int partition_acquire_uuid(Context *context, Partition *p, sd_id128_t *re
                         continue;
 
                 if (sd_id128_in_set(result.id, q->current_uuid, q->new_uuid)) {
-                        log_warning("Partition UUID calculated from seed for partition %" PRIu64 " exists already, reverting to randomized UUID.", p->partno);
+                        log_warning("Partition UUID calculated from seed for partition %" PRIu64 " already used, reverting to randomized UUID.", p->partno);
 
                         r = sd_id128_randomize(&result.id);
                         if (r < 0)