[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Syntax error in src/qemu/qemu_hotplug.c

Hah, thanks. I guess my timing was just right to hit the wrong commit when I pulled it down.


On Wed, Aug 1, 2012 at 2:35 AM, Peter Krempa <pkrempa redhat com> wrote:
On 07/31/12 17:20, Ryan Bourgeois wrote:
Fixed use of colon as statement terminator.

This is against the latest git master. My email client chomps
whitespace so I've attached the patch.

Ryan Bourgeois

Thanks for sending the patch! Unfortunately it's no longer relevant as it's already fixed by commit:

commit 2beed2daaf6539a13e915073343a82384e3a135d
Author: Marc-André Lureau <marcandre lureau gmail com>
Date:   Tue Jul 31 19:51:41 2012 +0200

    qemu: syntax fix

    Pushed without ack, under the trivial rule.

diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index ceffe22..f5f96ed 100644
--- a/src/qemu/qemu_hotplug.c
+++ b/src/qemu/qemu_hotplug.c
@@ -1170,7 +1170,7 @@ int qemuDomainAttachHostDevice(struct qemud_driver *driver,

         if (usbDeviceListAdd(list, usb) < 0) {
-            usb = NULL:
+            usb = NULL;
             goto cleanup;

For the whitespace damaging issue I recommend using git send-email that works just fine.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]