Fix error message in node device lookup

This commit is contained in:
Daniel P. Berrange 2009-04-01 09:55:32 +00:00
parent 461afc2200
commit b2f5ba21b8
2 changed files with 7 additions and 3 deletions

View File

@ -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>

View File

@ -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;
} }