[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Initialise the request ID in xs_talkv, to silence valgrind. We're not actually



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID b7afc0be59b21a8fb771fbc622678e1364d2d306
# Parent  e710b125b4cfbe4a36cd18ff61e61b54a93c1335
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@xxxxxxxxxxxxx>

diff -r e710b125b4cf -r b7afc0be59b2 tools/xenstore/xs.c
--- a/tools/xenstore/xs.c       Thu Nov 17 19:20:44 2005
+++ b/tools/xenstore/xs.c       Thu Nov 17 19:25:47 2005
@@ -305,6 +305,7 @@
        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++)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.