ia64/xen-unstable

changeset 7901:b7afc0be59b2

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>
author emellor@leeni.uk.xensource.com
date Thu Nov 17 20:25:47 2005 +0100 (2005-11-17)
parents e710b125b4cf
children eb3ecf6abe87
files tools/xenstore/xs.c
line diff
     1.1 --- a/tools/xenstore/xs.c	Thu Nov 17 20:20:44 2005 +0100
     1.2 +++ b/tools/xenstore/xs.c	Thu Nov 17 20:25:47 2005 +0100
     1.3 @@ -305,6 +305,7 @@ static void *xs_talkv(struct xs_handle *
     1.4  	struct sigaction ignorepipe, oldact;
     1.5  
     1.6  	msg.tx_id = (uint32_t)(unsigned long)t;
     1.7 +	msg.req_id = 0;
     1.8  	msg.type = type;
     1.9  	msg.len = 0;
    1.10  	for (i = 0; i < num_vecs; i++)