Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy(a)virtuozzo.com>
---
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