From: Tim Wiederhake Date: Tue, 20 Jul 2021 15:02:31 +0000 (+0200) Subject: virIdentityEnsureSystemToken: Fix error message X-Git-Tag: v7.6.0-rc1~139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd7d60ac52516166d52c654dc8c1b7fd3abd464d;p=thirdparty%2Flibvirt.git virIdentityEnsureSystemToken: Fix error message 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 --- 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; }