# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1281969065 -3600
# Node ID 3619c13659ae1fa8adb283db84d7f1bedb8b651f
# Parent 5f7df0947ce97ba5ec604bacd09694ed399c2729
libxl: xs_read accepts NULL for *len parameter
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
diff -r 5f7df0947ce9 -r 3619c13659ae tools/libxl/libxl_xshelp.c
--- a/tools/libxl/libxl_xshelp.c Mon Aug 16 15:31:05 2010 +0100
+++ b/tools/libxl/libxl_xshelp.c Mon Aug 16 15:31:05 2010 +0100
@@ -110,10 +110,9 @@ char * libxl_xs_read(libxl_gc *gc, xs_tr
char * libxl_xs_read(libxl_gc *gc, xs_transaction_t t, char *path)
{
libxl_ctx *ctx = libxl_gc_owner(gc);
- unsigned int len;
char *ptr;
- ptr = xs_read(ctx->xsh, t, path, &len);
+ ptr = xs_read(ctx->xsh, t, path, NULL);
if (ptr != NULL) {
libxl_ptr_add(gc, ptr);
return ptr;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|