From mboxrd@z Thu Jan 1 00:00:00 1970 From: lhh@sourceware.org Date: 29 Jan 2007 19:40:12 -0000 Subject: [Cluster-devel] cluster/rgmanager/src/utils clustat.c Message-ID: <20070129194012.9413.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL4 Changes by: lhh at sourceware.org 2007-01-29 19:40:11 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=RHEL4&r1=1.5.2.16&r2=1.5.2.17 --- cluster/rgmanager/src/utils/clustat.c 2007/01/26 21:02:28 1.5.2.16 +++ cluster/rgmanager/src/utils/clustat.c 2007/01/29 19:40:11 1.5.2.17 @@ -52,6 +52,7 @@ fd = msg_open(local_node_id, RG_PORT, RG_PURPOSE, 10); if (fd == -1) { + perror("msg_open"); return NULL; }