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

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=a58e8e3218c9588698759123d763377f42a33136
Commit:        a58e8e3218c9588698759123d763377f42a33136
Parent:        3db7003719fdbca67ba8e91778fbab4366be8e65
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:39:37 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:41 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:41 cluster: STABLE3 - 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).