]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cryptsetup: add debug message 35517/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 9 Dec 2024 17:05:11 +0000 (18:05 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 10 Dec 2024 09:58:58 +0000 (10:58 +0100)
src/cryptsetup/cryptsetup.c

index ee93fd3dca0c58d7eeba39916e04c6d2d7406045..1da9e21d8e22f161cb86a54ceb324bfddd36a4ee 100644 (file)
@@ -1253,6 +1253,8 @@ static int make_security_device_monitor(
         assert(ret_monitor);
 
         /* Waits for a device with "security-device" tag to show up in udev */
+        log_debug("Creating device monitor for tag 'security-device' with timeout %s",
+                  FORMAT_TIMESPAN(arg_token_timeout_usec, 1*USEC_PER_SEC));
 
         r = sd_event_default(&event);
         if (r < 0)
@@ -2600,7 +2602,7 @@ static int run(int argc, char *argv[]) {
                                 return r;
 
                         /* Key not correct? Let's try again, but let's invalidate one of the passed fields,
-                         * so that we fallback to the next best thing. */
+                         * so that we fall back to the next best thing. */
 
                         if (token_type == TOKEN_TPM2) {
                                 arg_tpm2_device = mfree(arg_tpm2_device);