[libvirt] [PATCH] util: Fix the conflict type for virIsCapableFCHost

Osier Yang jyang at redhat.com
Thu Mar 28 13:07:50 UTC 2013


---
Pushed under build-breaker rule.
---
 src/util/virutil.c | 3 ++-
 src/util/virutil.h | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/util/virutil.c b/src/util/virutil.c
index 557225c..d5f122f 100644
--- a/src/util/virutil.c
+++ b/src/util/virutil.c
@@ -3582,7 +3582,8 @@ virReadFCHost(const char *sysfs_prefix ATTRIBUTE_UNUSED,
 }
 
 int
-virIsCapableFCHost(int host ATTRIBUTE_UNUSED)
+virIsCapableFCHost(const char *sysfs_prefix ATTRIBUTE_UNUSED,
+                   int host ATTRIBUTE_UNUSED)
 {
     virReportSystemError(ENOSYS, "%s", _("Not supported on this platform"));
     return -1;
diff --git a/src/util/virutil.h b/src/util/virutil.h
index 47357fa..2a797cb 100644
--- a/src/util/virutil.h
+++ b/src/util/virutil.h
@@ -314,7 +314,7 @@ enum {
 int virManageVport(const int parent_host,
                    const char *wwpn,
                    const char *wwnn,
-                  int operation)
+                   int operation)
     ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3);
 
 #endif /* __VIR_UTIL_H__ */
-- 
1.8.1.4




More information about the libvir-list mailing list