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)
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);