]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commit
libxl: un-constify return value of libxl_basename
authorWei Liu <wei.liu2@citrix.com>
Mon, 1 Dec 2014 11:31:12 +0000 (11:31 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 2 Dec 2014 13:55:28 +0000 (13:55 +0000)
commite3abab74598d96de87e3cbcaf1d567ac854e53cf
tree4742ba600813f1304702d87097aad28bb908b60e
parente609bb983ea6e0a5a4d791cffccad0ce3712e12f
libxl: un-constify return value of libxl_basename

The string returned is malloc'ed but marked as "const".

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl.h
tools/libxl/libxl_utils.c
tools/libxl/libxl_utils.h