From 050094e65ce91fddcbe0aedcd5eec35166410609 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 6 Mar 2025 01:09:12 +0900 Subject: [PATCH] tpm2-clear: fix typo Follow-up for 73e53d2ee442896dc54e7a64e0a24ef235e8aff5. --- src/tpm2-setup/tpm2-clear.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tpm2-setup/tpm2-clear.c b/src/tpm2-setup/tpm2-clear.c index 330d5cbd59d..cf4d442b72b 100644 --- a/src/tpm2-setup/tpm2-clear.c +++ b/src/tpm2-setup/tpm2-clear.c @@ -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, -- 2.47.3