]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: add rebase fix that was accidentally omitted from previous patch
authorLaine Stump <laine@laine.org>
Thu, 11 Jul 2013 03:06:43 +0000 (23:06 -0400)
committerLaine Stump <laine@laine.org>
Thu, 11 Jul 2013 03:06:43 +0000 (23:06 -0400)
I had made the change locally, so make check and make syntax-check
were successful, but forgot to add/commit. Unfortunately, git allows a
push when the local directory is dirty, so it didn't catch my mistake.

src/util/virpci.c
src/util/virusb.c

index ed55b80f31591cf8b6092cb25c24b0ffdaf7c69a..3fa4a3593837089bde2b278b05a1adcd0fe53e72 100644 (file)
@@ -1669,7 +1669,7 @@ virPCIDeviceListAdd(virPCIDeviceListPtr list,
                        _("Device %s is already in use"), dev->name);
         return -1;
     }
-    return VIR_APPEND_ELEMENT(list->devs, list->count, dev, true);
+    return VIR_APPEND_ELEMENT(list->devs, list->count, dev);
 }
 
 
index 60222f4f9703bc56ace4417f84ce5bf10fe69790..e901618dbcb6e603f08c0e67d0f2c4d3e9db181c 100644 (file)
@@ -450,7 +450,7 @@ virUSBDeviceListAdd(virUSBDeviceListPtr list,
                        dev->name);
         return -1;
     }
-    return VIR_APPEND_ELEMENT(list->devs, list->count, dev, true);
+    return VIR_APPEND_ELEMENT(list->devs, list->count, dev);
 }
 
 virUSBDevicePtr