projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e0c951
)
tools/libvchan: Initialise xs_transaction_t to XBT_NULL, not NULL
author
Ian Jackson
<ian.jackson@eu.citrix.com>
Fri, 2 Nov 2018 17:01:06 +0000
(17:01 +0000)
committer
Wei Liu
<wei.liu2@citrix.com>
Wed, 28 Nov 2018 11:40:26 +0000
(11:40 +0000)
This is an integer type, not a pointer.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libvchan/init.c
patch
|
blob
|
history
diff --git
a/tools/libvchan/init.c
b/tools/libvchan/init.c
index ba5a6eb29e83af763ecdc68030c3093e6d1052c9..180833dc2f6edb98b8c0bff88866d4e94052547f 100644
(file)
--- a/
tools/libvchan/init.c
+++ b/
tools/libvchan/init.c
@@
-250,7
+250,7
@@
static int init_xs_srv(struct libxenvchan *ctrl, int domain, const char* xs_base
char buf[64];
char ref[16];
char* domid_str = NULL;
- xs_transaction_t xs_trans = NULL;
+ xs_transaction_t xs_trans =
XBT_
NULL;
xs = xs_domain_open();
if (!xs)
goto fail;