[libvirt PATCH v2 14/51] conf: Use virTristateXXX in virPCIDeviceAddress

Tim Wiederhake posted 51 patches 4 years, 10 months ago
There is a newer version of this series
[libvirt PATCH v2 14/51] conf: Use virTristateXXX in virPCIDeviceAddress
Posted by Tim Wiederhake 4 years, 10 months ago
Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
---
 src/util/virpci.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virpci.h b/src/util/virpci.h
index 9b37a12883..2c86642ea7 100644
--- a/src/util/virpci.h
+++ b/src/util/virpci.h
@@ -65,7 +65,7 @@ struct _virPCIDeviceAddress {
     unsigned int bus;
     unsigned int slot;
     unsigned int function;
-    int multi; /* virTristateSwitch */
+    virTristateSwitch multi;
     int extFlags; /* enum virPCIDeviceAddressExtensionFlags */
     virZPCIDeviceAddress zpci;
     /* Don't forget to update virPCIDeviceAddressCopy if needed. */
-- 
2.26.2