[PATCH v6 REBASE 2/5] vz: fix const correctness case

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

 



Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@xxxxxxxxxxxxx>
---
 src/vz/vz_utils.c | 2 +-
 src/vz/vz_utils.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/vz/vz_utils.c b/src/vz/vz_utils.c
index ae99aa0..4b82c62 100644
--- a/src/vz/vz_utils.c
+++ b/src/vz/vz_utils.c
@@ -160,7 +160,7 @@ vzGetOutput(const char *binary, ...)
 }
 
 virDomainObjPtr
-vzNewDomain(vzDriverPtr driver, char *name, const unsigned char *uuid)
+vzNewDomain(vzDriverPtr driver, const char *name, const unsigned char *uuid)
 {
     virDomainDefPtr def = NULL;
     virDomainObjPtr dom = NULL;
diff --git a/src/vz/vz_utils.h b/src/vz/vz_utils.h
index 6975f2c..f8a3bb3 100644
--- a/src/vz/vz_utils.h
+++ b/src/vz/vz_utils.h
@@ -123,7 +123,7 @@ vzDestroyDriverConnection(void);
 
 virDomainObjPtr
 vzNewDomain(vzDriverPtr driver,
-            char *name,
+            const char *name,
             const unsigned char *uuid);
 int
 vzInitVersion(vzDriverPtr driver);
-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



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