From: Lennart Poettering Date: Mon, 2 Jun 2025 11:13:34 +0000 (+0200) Subject: tpm2-util: correct copy/pasted error message X-Git-Tag: v258-rc1~408^2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d1c36f11d55a0f91f9bf09ada699c346faaaf005;p=thirdparty%2Fsystemd.git tpm2-util: correct copy/pasted error message --- 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",