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
Changes by: teigland at sourceware.org 2006-07-07 20:01:17

Modified files:
fence/fence_node: fence_node.c

Log message:
dispatch_fence_agent() was 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&r1=1.5&r2=1.6

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;