Skip to contentSkip to conversation

cluster/rgmanager/src/utils clustat.c

Cluster-devel [email protected] 1 participant 1 message Jan 29, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: STABLE
Changes by: lhh at sourceware.org 2007-01-29 19:40:38

Modified files:
rgmanager/src/utils: clustat.c

Log message:
Add error reporting if msg_open fails; patch from Josef Whiter

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/utils/clustat.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.5.2.3.6.11&r2=1.5.2.3.6.12

rgmanager/src/utils/clustat.c +1 -0
@@ -52,6 +52,7 @@
 
 	fd = msg_open(local_node_id, RG_PORT, RG_PURPOSE, 10);
 	if (fd == -1) {
+		perror("msg_open");
 		return NULL;
 	}