aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_xshelp.c
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-08-03 09:54:16 +0100
committerIan Campbell <ian.campbell@citrix.com>2012-08-03 09:54:16 +0100
commit662d2991eb798c73f29b89f00aede66602254264 (patch)
tree5542ff1d9eb003651fd856e532a2eda495ac4039 /tools/libxl/libxl_xshelp.c
parent215f2a9aa994541259aa2c271158a173a7f099ef (diff)
downloadxen-662d2991eb798c73f29b89f00aede66602254264.tar.gz
xen-662d2991eb798c73f29b89f00aede66602254264.tar.bz2
xen-662d2991eb798c73f29b89f00aede66602254264.zip
libxl: const correctness for libxl__xs_path_cleanup
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/libxl_xshelp.c')
-rw-r--r--tools/libxl/libxl_xshelp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libxl/libxl_xshelp.c b/tools/libxl/libxl_xshelp.c
index 0fedf8fac0..52af4842e4 100644
--- a/tools/libxl/libxl_xshelp.c
+++ b/tools/libxl/libxl_xshelp.c
@@ -233,7 +233,8 @@ void libxl__xs_transaction_abort(libxl__gc *gc, xs_transaction_t *t)
*t = 0;
}
-int libxl__xs_path_cleanup(libxl__gc *gc, xs_transaction_t t, char *user_path)
+int libxl__xs_path_cleanup(libxl__gc *gc, xs_transaction_t t,
+ const char *user_path)
{
unsigned int nb = 0;
char *path, *last, *val;