aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_device.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_device.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_device.c')
-rw-r--r--tools/libxl/libxl_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c
index 9fc63f1caa..df8ccf416f 100644
--- a/tools/libxl/libxl_device.c
+++ b/tools/libxl/libxl_device.c
@@ -507,7 +507,7 @@ DEFINE_DEVICES_ADD(nic)
int libxl__device_destroy(libxl__gc *gc, libxl__device *dev)
{
char *be_path = libxl__device_backend_path(gc, dev);
- char *fe_path = libxl__device_frontend_path(gc, dev);
+ const char *fe_path = libxl__device_frontend_path(gc, dev);
xs_transaction_t t = 0;
int rc;