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

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

 



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@xxxxxxxxx>
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) {
             usbFreeDevice(usb);
-            usb = NULL:
+            usb = NULL;
             goto cleanup;
         }

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

Peter


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]