aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_xshelp.c
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@citrix.com>2012-05-23 11:06:47 +0100
committerRoger Pau Monne <roger.pau@citrix.com>2012-05-23 11:06:47 +0100
commit145d12a5d284b892875e040f3ccaae68a6df8499 (patch)
treecece07c4523a078010c117c1327451148a0b02e8 /tools/libxl/libxl_xshelp.c
parenta185e8dfa236dc0abcde8d234f0ee7d793c4fb68 (diff)
downloadxen-145d12a5d284b892875e040f3ccaae68a6df8499.tar.gz
xen-145d12a5d284b892875e040f3ccaae68a6df8499.tar.bz2
xen-145d12a5d284b892875e040f3ccaae68a6df8499.zip
libxl: fix libxl__xs_directory usage of transaction
libxl__xs_directory takes a transaction parameter, but completely ignores it, passing XBT_NULL unconditionally to xs_directory. Signed-off-by: Roger Pau Monne <roger.pau@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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/libxl_xshelp.c b/tools/libxl/libxl_xshelp.c
index 3ea8d08861..6ca1afe632 100644
--- a/tools/libxl/libxl_xshelp.c
+++ b/tools/libxl/libxl_xshelp.c
@@ -111,7 +111,7 @@ char **libxl__xs_directory(libxl__gc *gc, xs_transaction_t t,
{
libxl_ctx *ctx = libxl__gc_owner(gc);
char **ret = NULL;
- ret = xs_directory(ctx->xsh, XBT_NULL, path, nb);
+ ret = xs_directory(ctx->xsh, t, path, nb);
libxl__ptr_add(gc, ret);
return ret;
}