|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] tools/libvchan: Initialise xs_transaction_t to XBT_NULL, not NULL
commit 598643d94801be663f3f863527eb4abbc4a95005
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
AuthorDate: Fri Nov 2 17:01:06 2018 +0000
Commit: Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Wed Nov 28 11:40:26 2018 +0000
tools/libvchan: Initialise xs_transaction_t to XBT_NULL, not NULL
This is an integer type, not a pointer.
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
tools/libvchan/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/libvchan/init.c b/tools/libvchan/init.c
index ba5a6eb29e..180833dc2f 100644
--- 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;
--
generated by git-patchbot for /home/xen/git/xen.git#staging
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |