The audit functions usually take the old definition before the new one in the argument list. Unify RNG device to use the same order. --- src/conf/domain_audit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conf/domain_audit.c b/src/conf/domain_audit.c index 52c643d..91095b1 100644 --- a/src/conf/domain_audit.c +++ b/src/conf/domain_audit.c @@ -138,7 +138,7 @@ virDomainAuditDisk(virDomainObjPtr vm, static void virDomainAuditRNG(virDomainObjPtr vm, - virDomainRNGDefPtr newDef, virDomainRNGDefPtr oldDef, + virDomainRNGDefPtr oldDef, virDomainRNGDefPtr newDef, const char *reason, bool success) { char uuidstr[VIR_UUID_STRING_BUFLEN]; @@ -827,7 +827,7 @@ virDomainAuditStart(virDomainObjPtr vm, const char *reason, bool success) } if (vm->def->rng) - virDomainAuditRNG(vm, vm->def->rng, NULL, "start", true); + virDomainAuditRNG(vm, NULL, vm->def->rng, "start", true); if (vm->def->tpm) virDomainAuditTPM(vm, vm->def->tpm, "start", true); -- 1.9.3 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list