public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* fence: master - fence_node: add missing cman_node_t struct initialization
@ 2009-03-02  7:42 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-03-02  7:42 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/fence.git?p=fence.git;a=commitdiff;h=4b39a4a2394d9361df9b6176b488d6ddc0f9ed91
Commit:        4b39a4a2394d9361df9b6176b488d6ddc0f9ed91
Parent:        2b4a47e98ce67ef25f875dc50d7334b3edad6b4d
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Mon Mar 2 08:39:37 2009 +0100
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Mon Mar 2 08:42:12 2009 +0100

fence_node: add missing cman_node_t struct initialization

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 fence/fence_node/fence_node.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fence/fence_node/fence_node.c b/fence/fence_node/fence_node.c
index c87ee07..3d7fc5e 100644
--- a/fence/fence_node/fence_node.c
+++ b/fence/fence_node/fence_node.c
@@ -68,6 +68,7 @@ static int setup_cman(void)
 		return -1;
 	}
 
+	memset(&node, 0, sizeof(node));
 	rv = cman_get_node(ch, CMAN_NODEID_US, &node);
 	if (rv < 0) {
 		cman_finish(ch);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-02  7:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-02  7:42 fence: master - fence_node: add missing cman_node_t struct initialization Fabio M. Di Nitto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).