1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-05 13:17:51 +03:00

virIdentityEnsureSystemToken: Fix error message

This appears to be a copy-paste mistake from the check directly above.

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Tim Wiederhake 2021-07-20 17:02:31 +02:00
parent 429312d686
commit bd7d60ac52

View File

@ -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;
}