[Cluster-devel] cluster/fence/agents/xvm simple_auth.c

lhh at sourceware.org lhh at sourceware.org
Tue Mar 6 15:43:53 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	lhh at sourceware.org	2007-03-06 15:43:53

Modified files:
	fence/agents/xvm: simple_auth.c 

Log message:
	Add open failure message

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/xvm/simple_auth.c.diff?cvsroot=cluster&r1=1.4&r2=1.5

--- cluster/fence/agents/xvm/simple_auth.c	2007/03/06 15:40:20	1.4
+++ cluster/fence/agents/xvm/simple_auth.c	2007/03/06 15:43:53	1.5
@@ -374,10 +374,11 @@
 	int nread, remain = max_len;
 	char *p;
 
-	dprintf(3, "Reading in key file %s into %p (%d len)\n",
+	dprintf(3, "Reading in key file %s into %p (%d max size)\n",
 		file, key, (int)max_len);
 	fd = open(file, O_RDONLY);
 	if (fd < 0) {
+		dprintf(2, "Error opening key file: %s\n", strerror(errno));
 		return -1;
 	}
 




More information about the Cluster-devel mailing list