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 a1ddad0..f56cbdf 100644
--- a/src/vz/vz_utils.c
+++ b/src/vz/vz_utils.c
@@ -137,7 +137,7 @@ vzGetOutput(const char *binary, ...)
}
virDomainObjPtr
-vzNewDomain(vzConnPtr privconn, char *name, const unsigned char *uuid)
+vzNewDomain(vzConnPtr privconn, 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 b685478..8fcedf3 100644
--- a/src/vz/vz_utils.h
+++ b/src/vz/vz_utils.h
@@ -95,7 +95,7 @@ void vzDriverLock(vzConnPtr driver);
void vzDriverUnlock(vzConnPtr driver);
virDomainObjPtr
vzNewDomain(vzConnPtr privconn,
- char *name,
+ const char *name,
const unsigned char *uuid);
# define PARALLELS_BLOCK_STATS_FOREACH(OP) \
--
1.8.3.1