cryptenroll: fix typo (close parenthesis out of nowhere)

Follow-up for 8518f4a814
This commit is contained in:
Mike Yuan 2024-04-24 20:01:47 +08:00 committed by Lennart Poettering
parent 1a6dceeca2
commit 98cf76a4cc

View file

@ -140,7 +140,7 @@ static int determine_default_node(void) {
if (r == -ENOENT)
return log_error_errno(r, "Backing block device of /var/ is not a DM device: %m");
if (r < 0)
return log_error_errno(r, "Unable to query DM_UUID udev property of backing block device for /var/): %m");
return log_error_errno(r, "Unable to query DM_UUID udev property of backing block device for /var/: %m");
if (!startswith(dm_uuid, "CRYPT-LUKS2-"))
return log_error_errno(SYNTHETIC_ERRNO(ENXIO), "Block device backing /var/ is not a LUKS2 device: %m");