Skip to contentSkip to conversation

cluster/group/gfs_controld cpg.c group.c plock ...

Cluster-devel [email protected] 1 participant 1 message Jul 19, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: teigland at sourceware.org 2007-07-19 20:23:16

Modified files:
group/gfs_controld: cpg.c group.c plock.c recover.c

Log message:
clean up warnings, report more precise plock times (sync with HEAD)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/cpg.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.9.2.2&r2=1.9.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/group.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.4&r2=1.4.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/plock.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.25.2.6&r2=1.25.2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/recover.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.23.2.8&r2=1.23.2.9

group/gfs_controld/cpg.c +1 -1
@@ -222,7 +222,7 @@
 	}
 	if (error != CPG_OK) {
 		log_error("cpg_mcast_joined error %d handle %llx %s",
-			  error, h, msg_name(type));
+			  error, (unsigned long long)h, msg_name(type));
 		return -1;
 	}
 
group/gfs_controld/group.c +1 -1
@@ -170,7 +170,7 @@
 	gh = group_init(NULL, LOCK_DLM_GROUP_NAME, LOCK_DLM_GROUP_LEVEL,
 			&callbacks, 10);
 	if (!gh) {
-		log_error("group_init error %d %d", (int) gh, errno);
+		log_error("group_init error %p %d", gh, errno);
 		return -ENOTCONN;
 	}
 
group/gfs_controld/plock.c +64 -34

251 lines not on this page · raw message

group/gfs_controld/recover.c +1 -1
@@ -1667,7 +1667,7 @@
 
 	if (strlen(options) > MAX_OPTIONS_LEN-1) {
 		rv = -EMLINK;
-		log_error("mount: options too long %d", strlen(options));
+		log_error("mount: options too long %zu", strlen(options));
 		goto out;
 	}