Skip to contentSkip to conversation

cluster/fence/fence_node fence_node.c

Cluster-devel [email protected] 1 participant 1 message Jul 7, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: STABLE
Changes by: teigland at sourceware.org 2006-07-07 19:41:25

Modified files:
fence/fence_node: fence_node.c

Log message:
dispatch_fence_agent was being prototyped and called with an extra arg that doesn't exist in the real function

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/fence_node/fence_node.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.2.2.3&r2=1.2.2.3.6.1

fence/fence_node/fence_node.c +2 -2
@@ -34,7 +34,7 @@
 static char *prog_name;
 static int force;
 
-int dispatch_fence_agent(int cd, char *victim, int in);
+int dispatch_fence_agent(int cd, char *victim);
 
 static void print_usage(void)
 {
@@ -116,7 +116,7 @@
 		goto fail;
 	}
 
-	error = dispatch_fence_agent(cd, victim, 0);
+	error = dispatch_fence_agent(cd, victim);
 	if (error)
 		goto fail_ccs;