# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1281969065 -3600
# Node ID e87c73b32c1b4cd9d1a6ca9064c6be7113e5fc12
# Parent 251dae6ee4a9946afcb678418233a2d7d5af2674
libxl: xs_read accepts NULL for *len parameter
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
committer: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
tools/libxl/libxl_xshelp.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
diff -r 251dae6ee4a9 -r e87c73b32c1b 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|