aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_json.c
diff options
context:
space:
mode:
authorAllen Kay <allen.m.kay@intel.com>2012-02-20 16:46:27 +0000
committerAllen Kay <allen.m.kay@intel.com>2012-02-20 16:46:27 +0000
commit089179f6f330d820234780ebaeb79614f4d2d9ba (patch)
treeb196862aaf48d8bcfb61b2833030b6211f05ac4a /tools/libxl/libxl_json.c
parente4ca8e3c8d2097b1660616fbb804863ee156330e (diff)
downloadxen-089179f6f330d820234780ebaeb79614f4d2d9ba.tar.gz
xen-089179f6f330d820234780ebaeb79614f4d2d9ba.tar.bz2
xen-089179f6f330d820234780ebaeb79614f4d2d9ba.zip
libxl: Fix yajl-related build error due to missing error value
Some versions of yajl lack yajl_gen_no_buf. Signed-off-by: Allen Kay <allen.m.kay@intel.com> Tested-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_json.c')
-rw-r--r--tools/libxl/libxl_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/libxl_json.c b/tools/libxl/libxl_json.c
index 54186838d3..be6ad9693e 100644
--- a/tools/libxl/libxl_json.c
+++ b/tools/libxl/libxl_json.c
@@ -793,9 +793,9 @@ static const char *yajl_gen_status_to_string(yajl_gen_status s)
return "generation complete";
case yajl_gen_invalid_number:
return "invalid number";
+#if 0 /* This is in the docs but not implemented in the version I am running. */
case yajl_gen_no_buf:
return "no buffer";
-#if 0 /* This is in the docs but not implemented in the version I am running. */
case yajl_gen_invalid_string:
return "invalid string";
#endif