mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-13 00:01:55 +00:00
* src/qemu_driver.c: oops trailing blanks
Daniel
This commit is contained in:
parent
b76154744c
commit
c1a9be4c1b
@ -1,3 +1,7 @@
|
||||
Mon Nov 3 16:52:12 CET 2008 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* src/qemu_driver.c: oops trailing blanks
|
||||
|
||||
Mon Nov 03 12:37:00 CET 2008 Chris Lalancette <clalance@redhat.com>
|
||||
* src/storage_backend.c src/storage_backend.h
|
||||
src/storage_backend_disk.c src/storage_backend_iscsi.c
|
||||
|
@ -2830,7 +2830,7 @@ static int qemudDomainDetachPciDiskDevice(virDomainPtr dom, virDomainDeviceDefPt
|
||||
|
||||
if (detach->slotnum < 1) {
|
||||
qemudReportError(dom->conn, dom, NULL, VIR_ERR_OPERATION_FAILED,
|
||||
_("disk %s cannot be detached - invalid slot number %d"),
|
||||
_("disk %s cannot be detached - invalid slot number %d"),
|
||||
detach->dst, detach->slotnum);
|
||||
return -1;
|
||||
}
|
||||
@ -2853,7 +2853,7 @@ static int qemudDomainDetachPciDiskDevice(virDomainPtr dom, virDomainDeviceDefPt
|
||||
* nothing is printed on success */
|
||||
if (strstr(reply, "invalid slot")) {
|
||||
qemudReportError (dom->conn, dom, NULL, VIR_ERR_OPERATION_FAILED,
|
||||
_("failed to detach disk %s: invalid slot %d"),
|
||||
_("failed to detach disk %s: invalid slot %d"),
|
||||
detach->dst, detach->slotnum);
|
||||
ret = -1;
|
||||
goto out;
|
||||
|
Loading…
x
Reference in New Issue
Block a user