[libvirt] [PATCH 1/5] conf: Fix comment mentioning actual type of @multi member of virDevicePCIAddress

Peter Krempa pkrempa at redhat.com
Thu Jan 22 10:53:36 UTC 2015


After refactor to use the virTristateSwitch enum the comment in the
struct was not adjusted.
---
 src/conf/device_conf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conf/device_conf.h b/src/conf/device_conf.h
index f067a35..7256cdc 100644
--- a/src/conf/device_conf.h
+++ b/src/conf/device_conf.h
@@ -52,7 +52,7 @@ struct _virDevicePCIAddress {
     unsigned int bus;
     unsigned int slot;
     unsigned int function;
-    int          multi;  /* enum virDomainDeviceAddressPCIMulti */
+    int          multi;  /* virTristateSwitch */
 };

 typedef struct _virInterfaceLink virInterfaceLink;
-- 
2.2.1




More information about the libvir-list mailing list