]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
homework-luks: fix typos
authorTopi Miettinen <topimiettinen@users.noreply.github.com>
Fri, 21 Jul 2023 11:55:40 +0000 (11:55 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 21 Jul 2023 12:11:04 +0000 (21:11 +0900)
src/home/homework-luks.c

index 01dd05e8f1beb51f08cfc6c6684e9438c9df53b8..06e346e1e049e94a849207beeb94b477c1f61158 100644 (file)
@@ -572,7 +572,7 @@ static int luks_open(
         if (r == -ENOKEY)
                 return log_error_errno(r, "No valid password for LUKS superblock.");
         if (r < 0)
-                return log_error_errno(r, "Failed to unlocks LUKS superblock: %m");
+                return log_error_errno(r, "Failed to unlock LUKS superblock: %m");
 
         log_info("Discovered used LUKS device /dev/mapper/%s, and validated password.", setup->dm_name);
 
@@ -3630,7 +3630,7 @@ int home_passwd_luks(
         if (r == -ENOKEY)
                 return log_error_errno(SYNTHETIC_ERRNO(ENOKEY), "Failed to unlock LUKS superblock with supplied passwords.");
         if (r < 0)
-                return log_error_errno(r, "Failed to unlocks LUKS superblock: %m");
+                return log_error_errno(r, "Failed to unlock LUKS superblock: %m");
 
         n_effective = strv_length(effective_passwords);