]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
repart: Fix log messages in partition_populate_directory()
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 15 Sep 2024 20:01:16 +0000 (22:01 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 15 Sep 2024 20:40:10 +0000 (22:40 +0200)
We're not actually populating a filesystem here, we're preparing
to populate a filesystem, so update the log messages accordingly.

src/partition/repart.c

index e24656f451bf7920849dc56bbdb1138a07b7bb16..b430d2d463d741aa605c3b7dbeba06c8f3f24053 100644 (file)
@@ -5408,7 +5408,7 @@ static int partition_populate_directory(Context *context, Partition *p, char **r
 
         assert(ret);
 
-        log_info("Populating %s filesystem.", p->format);
+        log_info("Preparing to populate %s filesystem.", p->format);
 
         r = var_tmp_dir(&vt);
         if (r < 0)
@@ -5434,7 +5434,7 @@ static int partition_populate_directory(Context *context, Partition *p, char **r
         if (r < 0)
                 return r;
 
-        log_info("Successfully populated %s filesystem.", p->format);
+        log_info("Ready to populate %s filesystem.", p->format);
 
         *ret = TAKE_PTR(root);
         return 0;