[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/fence/fenced member_cman.c group.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rmccabe sourceware org	2007-10-09 22:13:32

Modified files:
	fence/fenced   : member_cman.c group.c 

Log message:
	Fix code that caused warnings on platforms where sizeof(void *) != sizeof(int)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/fenced/member_cman.c.diff?cvsroot=cluster&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/fenced/group.c.diff?cvsroot=cluster&r1=1.10&r2=1.11

--- cluster/fence/fenced/member_cman.c	2007/08/28 16:51:39	1.17
+++ cluster/fence/fenced/member_cman.c	2007/10/09 22:13:32	1.18
@@ -123,7 +123,7 @@
 
 	ch = cman_init(NULL);
 	if (!ch) {
-		log_error("cman_init error %d %d", (int) ch, errno);
+		log_error("cman_init error %p %d", ch, errno);
 		return -ENOTCONN;
 	}
 
--- cluster/fence/fenced/group.c	2006/10/13 16:03:47	1.10
+++ cluster/fence/fenced/group.c	2007/10/09 22:13:32	1.11
@@ -161,7 +161,7 @@
 
 	gh = group_init(NULL, "fence", 0, &callbacks, GROUPD_TIMEOUT);
 	if (!gh) {
-		log_error("group_init error %d %d", (int) gh, errno);
+		log_error("group_init error %p %d", gh, errno);
 		return -ENOTCONN;
 	}
 	rv = group_get_fd(gh);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]