From: Ian Jackson Date: Fri, 2 Nov 2018 17:01:06 +0000 (+0000) Subject: tools/libvchan: Initialise xs_transaction_t to XBT_NULL, not NULL X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~2821 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=598643d94801be663f3f863527eb4abbc4a95005;p=xen.git tools/libvchan: Initialise xs_transaction_t to XBT_NULL, not NULL This is an integer type, not a pointer. Signed-off-by: Ian Jackson Acked-by: Wei Liu --- 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;