1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

util: add rebase fix that was accidentally omitted from previous patch

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.
This commit is contained in:
Laine Stump 2013-07-10 23:06:43 -04:00
parent 22c6829bc2
commit a04e60b21f
2 changed files with 2 additions and 2 deletions

View 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);
}

View 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