From d1c36f11d55a0f91f9bf09ada699c346faaaf005 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 2 Jun 2025 13:13:34 +0200 Subject: [PATCH] tpm2-util: correct copy/pasted error message --- src/shared/tpm2-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/tpm2-util.c b/src/shared/tpm2-util.c index 710ed4e81b1..d4e81083d17 100644 --- a/src/shared/tpm2-util.c +++ b/src/shared/tpm2-util.c @@ -2117,7 +2117,7 @@ int tpm2_create_primary( /* creationHash= */ NULL, /* creationTicket= */ NULL); if (rc == TPM2_RC_BAD_AUTH) - return log_debug_errno(SYNTHETIC_ERRNO(EDEADLK), "Authorization failure while attempting to enroll SRK into TPM."); + return log_debug_errno(SYNTHETIC_ERRNO(EDEADLK), "Authorization failure while attempting to create primary key."); if (rc != TSS2_RC_SUCCESS) return log_debug_errno(SYNTHETIC_ERRNO(ENOTRECOVERABLE), "Failed to generate primary key in TPM: %s", -- 2.47.3