]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tpm2-clear: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 5 Mar 2025 16:09:12 +0000 (01:09 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 5 Mar 2025 16:09:15 +0000 (01:09 +0900)
Follow-up for 73e53d2ee442896dc54e7a64e0a24ef235e8aff5.

src/tpm2-setup/tpm2-clear.c

index 330d5cbd59db9f31136a5b87d068a50d67e8efa2..cf4d442b72b91f48d163829291185a518e203575 100644 (file)
@@ -109,7 +109,7 @@ static int request_tpm2_clear(void) {
         /* Now issue PPI request */
         r = write_string_file("/sys/class/tpm/tpm0/ppi/request", "5", /* flags= */ 0);
         if (r < 0)
-                return log_error_errno(r, "Failed to request TPM2 cleaing via PPI, unable to write to /sys/class/tpm/tpm0/ppi/request: %m");
+                return log_error_errno(r, "Failed to request TPM2 clearing via PPI, unable to write to /sys/class/tpm/tpm0/ppi/request: %m");
 
         log_struct(LOG_NOTICE,
                    "MESSAGE_ID=" SD_MESSAGE_TPM2_CLEAR_REQUESTED_STR,