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:
Anastasia Belova 2023-12-06 21:45:00 +03:00 committed by Martin Kletzander
parent d17474a5f1
commit d96858b0e8

View File

@ -502,7 +502,7 @@ virSecurityMoveRememberedLabel(const char *name,
} else if (errno != ENODATA) {
virReportSystemError(errno,
_("Unable to get XATTR %1$s on %2$s"),
attr_name, src);
timestamp_name, src);
return -1;
}
}