qemu: Fix the error message for scsi host device's shareable checking

This fixes the wrong argument order.
This commit is contained in:
Osier Yang 2014-01-30 16:47:19 +08:00
parent 6fdece9a33
commit f406aa25f2

View File

@ -1135,8 +1135,8 @@ qemuPrepareHostdevSCSIDevices(virQEMUDriverPtr driver,
virReportError(VIR_ERR_OPERATION_INVALID,
_("SCSI device %s is already in use by "
"other domain(s) as '%s'"),
tmp_shareable ? "shareable" : "non-shareable",
virSCSIDeviceGetName(tmp));
virSCSIDeviceGetName(tmp),
tmp_shareable ? "shareable" : "non-shareable");
goto error;
}