提交 f406aa25 编写于 作者: O Osier Yang

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

This fixes the wrong argument order.
上级 6fdece9a
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册