From bd7d60ac52516166d52c654dc8c1b7fd3abd464d Mon Sep 17 00:00:00 2001 From: Tim Wiederhake Date: Tue, 20 Jul 2021 17:02:31 +0200 Subject: [PATCH] virIdentityEnsureSystemToken: Fix error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This appears to be a copy-paste mistake from the check directly above. Signed-off-by: Tim Wiederhake Reviewed-by: Daniel P. Berrangé Reviewed-by: Ján Tomko --- src/util/viridentity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/viridentity.c b/src/util/viridentity.c index eb77f69e2e..c18326c8cb 100644 --- a/src/util/viridentity.c +++ b/src/util/viridentity.c @@ -284,7 +284,7 @@ virIdentityEnsureSystemToken(void) } else { if (virFileReadLimFD(fd, TOKEN_STRLEN, &token) < 0) { virReportSystemError(errno, - _("Failed to write system token '%s'"), + _("Failed to read system token '%s'"), tokenfile); return NULL; }