mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-01 20:05:19 +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>
|
||||
|
||||
* 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>
|
||||
|
||||
|
@ -121,8 +121,7 @@ static virNodeDevicePtr nodeDeviceLookupByName(virConnectPtr conn,
|
||||
nodeDeviceUnlock(driver);
|
||||
|
||||
if (!obj) {
|
||||
virNodeDeviceReportError(conn, VIR_ERR_INVALID_NODE_DEVICE,
|
||||
"%s", _("no node device with matching name"));
|
||||
virNodeDeviceReportError(conn, VIR_ERR_NO_NODE_DEVICE, NULL);
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user