]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shared/dissect-image: reword debug message
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 5 Oct 2021 17:56:46 +0000 (19:56 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 12 Oct 2021 11:56:57 +0000 (13:56 +0200)
I read the message and initially thought that there's some bug in time
subtraction. Let's make it clear that the message is about what we'll
do in the future, and not a report on how we waited up until now.

src/shared/dissect-image.c

index 74cebe1f7116bbbcd413913a0aba860df0b8916c..6b2289defa129e7c7ea947fd68d7fbf9b88e6347 100644 (file)
@@ -546,7 +546,7 @@ static int device_wait_for_initialization_harder(
 
                 (void) sd_device_get_sysname(device, &sn);
                 log_device_debug(device,
-                                 "Waiting for device '%s' to initialize for %s.", strna(sn), FORMAT_TIMESPAN(left, 0));
+                                 "Will wait up to %s for '%s' to initialize…", FORMAT_TIMESPAN(left, 0), strna(sn));
         }
 
         if (left != USEC_INFINITY)