projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e04488a
)
libxl: xs_read accepts NULL for *len parameter
author
Ian Campbell
<ian.campbell@citrix.com>
Mon, 16 Aug 2010 14:31:05 +0000
(15:31 +0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Mon, 16 Aug 2010 14:31:05 +0000
(15:31 +0100)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
committer: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/libxl_xshelp.c
patch
|
blob
|
history
diff --git
a/tools/libxl/libxl_xshelp.c
b/tools/libxl/libxl_xshelp.c
index 90acd5d045fb1720eda3d231620caee85be5ae32..cfd7be3cb5860c26347e86cece10cefb7b4f756d 100644
(file)
--- a/
tools/libxl/libxl_xshelp.c
+++ b/
tools/libxl/libxl_xshelp.c
@@
-110,10
+110,9
@@
int libxl_xs_write(libxl_gc *gc, xs_transaction_t t,
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;