qemu: Adjust async job failure message

Make it clearer what asyncJob type was passed and what was expected.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
John Ferlan 2018-06-19 18:54:15 -04:00
parent 279d6d1c70
commit eb3f6e5634

View File

@ -6666,7 +6666,8 @@ qemuDomainObjBeginNestedJob(virQEMUDriverPtr driver,
if (asyncJob != priv->job.asyncJob) {
virReportError(VIR_ERR_INTERNAL_ERROR,
_("unexpected async job %d"), asyncJob);
_("unexpected async job %d type expected %d"),
asyncJob, priv->job.asyncJob);
return -1;
}