From: Osier Yang Date: Thu, 30 Jan 2014 08:47:19 +0000 (+0800) Subject: qemu: Fix the error message for scsi host device's shareable checking X-Git-Tag: v1.2.2-rc1~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f406aa25f2e82efbf3746c2f0330e923120332a4;p=thirdparty%2Flibvirt.git qemu: Fix the error message for scsi host device's shareable checking This fixes the wrong argument order. --- diff --git a/src/qemu/qemu_hostdev.c b/src/qemu/qemu_hostdev.c index 2b11d6c71a..1b16386f36 100644 --- a/src/qemu/qemu_hostdev.c +++ b/src/qemu/qemu_hostdev.c @@ -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; }