Re: [libvirt PATCH 01/38] virStorageAdapterFCHost: Fix comment

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

 



On 3/18/21 9:00 AM, Tim Wiederhake wrote:
Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx>
---
  src/conf/storage_adapter_conf.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conf/storage_adapter_conf.h b/src/conf/storage_adapter_conf.h
index 4c7da7c8d9..93879acb6e 100644
--- a/src/conf/storage_adapter_conf.h
+++ b/src/conf/storage_adapter_conf.h
@@ -51,7 +51,7 @@ struct _virStorageAdapterFCHost {
      char *parent_fabric_wwn;
      char *wwnn;
      char *wwpn;
-    int managed;        /* enum virTristateSwitch */
+    int managed;        /* enum virTristateBool */
  };
typedef struct _virStorageAdapter virStorageAdapter;


I'd expand the commit message a bit, like this:

    virStorageAdapterFCHost: Fix comment for @managed

    The enum that's used for @managed is virTristateBool and not
    virTristateSwitch as the comment says.


Michal




[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]

  Powered by Linux