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

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



22.04.2016 10:20, Nikolay Shirokovskiy пишет:

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy 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);

ACK


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