mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +00:00
Fix error message in node device lookup
This commit is contained in:
parent
461afc2200
commit
b2f5ba21b8
@ -1,6 +1,11 @@
|
|||||||
|
Wed Apr 1 10:55:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* src/node_device.c: Fix error message for missing node device
|
||||||
|
during lookup by name
|
||||||
|
|
||||||
Wed Apr 1 10:54:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
Wed Apr 1 10:54:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
* src/qemu-driver.c: Fix URI check in migration
|
* src/qemu_driver.c: Fix URI check in migration
|
||||||
|
|
||||||
Wed Apr 1 10:50:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
Wed Apr 1 10:50:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
@ -121,8 +121,7 @@ static virNodeDevicePtr nodeDeviceLookupByName(virConnectPtr conn,
|
|||||||
nodeDeviceUnlock(driver);
|
nodeDeviceUnlock(driver);
|
||||||
|
|
||||||
if (!obj) {
|
if (!obj) {
|
||||||
virNodeDeviceReportError(conn, VIR_ERR_INVALID_NODE_DEVICE,
|
virNodeDeviceReportError(conn, VIR_ERR_NO_NODE_DEVICE, NULL);
|
||||||
"%s", _("no node device with matching name"));
|
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user