mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-23 20:02:21 +00:00
security_util: fix log in virSecurityMoveRememberedLabel
Fix incorrect log message for timestamp value. Probably this line was copied from the check for attr. Found by Linux Verification Center (linuxtesting.org). Fixes: 7cfb7aab57 ("security_util: Remove stale XATTRs") Signed-off-by: Anastasia Belova <abelova@astralinux.ru> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
d17474a5f1
commit
d96858b0e8
@ -502,7 +502,7 @@ virSecurityMoveRememberedLabel(const char *name,
|
|||||||
} else if (errno != ENODATA) {
|
} else if (errno != ENODATA) {
|
||||||
virReportSystemError(errno,
|
virReportSystemError(errno,
|
||||||
_("Unable to get XATTR %1$s on %2$s"),
|
_("Unable to get XATTR %1$s on %2$s"),
|
||||||
attr_name, src);
|
timestamp_name, src);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user