aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ocaml/libs
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-10-18 13:36:43 +0100
committerIan Campbell <ian.campbell@citrix.com>2011-10-18 13:36:43 +0100
commit33ca1047cba8e385f9b9f433627ed6c116bd4157 (patch)
treea04a60a2ce3639fe711640528f5fadc14a5ebbe3 /tools/ocaml/libs
parent6dc92e085b34e9502e42a53fd6969c9af483a307 (diff)
downloadxen-33ca1047cba8e385f9b9f433627ed6c116bd4157.tar.gz
xen-33ca1047cba8e385f9b9f433627ed6c116bd4157.tar.bz2
xen-33ca1047cba8e385f9b9f433627ed6c116bd4157.zip
libxl: add a flags argument to libxl_ctx_alloc.
Currently unused but gives us scope for expansion in an ABI compatible manner in the future. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/ocaml/libs')
-rw-r--r--tools/ocaml/libs/xl/xenlight_stubs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ocaml/libs/xl/xenlight_stubs.c b/tools/ocaml/libs/xl/xenlight_stubs.c
index be05b8ea87..0944c5696f 100644
--- a/tools/ocaml/libs/xl/xenlight_stubs.c
+++ b/tools/ocaml/libs/xl/xenlight_stubs.c
@@ -59,7 +59,7 @@ static void log_destroy(struct xentoollog_logger *logger)
lg.logger.destroy = log_destroy; \
lg.logger.progress = NULL; \
caml_enter_blocking_section(); \
- ret = libxl_ctx_alloc(&ctx, LIBXL_VERSION, (struct xentoollog_logger *) &lg); \
+ ret = libxl_ctx_alloc(&ctx, LIBXL_VERSION, 0, (struct xentoollog_logger *) &lg); \
if (ret != 0) \
failwith_xl("cannot init context", &lg);