diff options
author | emellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com> | 2005-11-17 20:25:47 +0100 |
---|---|---|
committer | emellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com> | 2005-11-17 20:25:47 +0100 |
commit | d6840089fbcf80be97b01841baec5cde0e4ebe6d (patch) | |
tree | 4c01a0263eb06d4e6ff46b533bdf9111420860a0 /tools/xenstore/xs.c | |
parent | 3700b1715bfea0e62901ee914a15b3bcb3e479d9 (diff) | |
download | xen-d6840089fbcf80be97b01841baec5cde0e4ebe6d.tar.gz xen-d6840089fbcf80be97b01841baec5cde0e4ebe6d.tar.bz2 xen-d6840089fbcf80be97b01841baec5cde0e4ebe6d.zip |
Initialise the request ID in xs_talkv, to silence valgrind. We're not actually
using this value at the moment -- it's only there for use by future clients.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/xenstore/xs.c')
-rw-r--r-- | tools/xenstore/xs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/xenstore/xs.c b/tools/xenstore/xs.c index a817a88077..5cd4201e20 100644 --- a/tools/xenstore/xs.c +++ b/tools/xenstore/xs.c @@ -305,6 +305,7 @@ static void *xs_talkv(struct xs_handle *h, struct xs_transaction_handle *t, struct sigaction ignorepipe, oldact; msg.tx_id = (uint32_t)(unsigned long)t; + msg.req_id = 0; msg.type = type; msg.len = 0; for (i = 0; i < num_vecs; i++) |