From: rohara@sourceware.org <rohara@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/fence/fence_node fence_node.c
Date: 1 Dec 2006 19:57:54 -0000 [thread overview]
Message-ID: <20061201195754.14888.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL50
Changes by: rohara at sourceware.org 2006-12-01 19:57:53
Modified files:
fence/fence_node: fence_node.c
Log message:
Remove option for passing "self" parameter.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/fence_node/fence_node.c.diff?cvsroot=cluster&only_with_tag=RHEL50&r1=1.7&r2=1.7.4.1
--- cluster/fence/fence_node/fence_node.c 2006/07/10 17:05:53 1.7
+++ cluster/fence/fence_node/fence_node.c 2006/12/01 19:57:53 1.7.4.1
@@ -20,7 +20,7 @@
#include "copyright.cf"
#include "ccs.h"
-#define OPTION_STRING ("hOs:uV")
+#define OPTION_STRING ("hOuV")
#define die(fmt, args...) \
do \
@@ -34,7 +34,7 @@
static char *prog_name;
static int force;
-int dispatch_fence_agent(int cd, char *victim, char *self);
+int dispatch_fence_agent(int cd, char *victim);
static void print_usage(void)
{
@@ -46,7 +46,6 @@
printf("\n");
printf(" -h Print this help, then exit\n");
printf(" -O Force connection to CCS\n");
- printf(" -s Name of current node\n");
printf(" -V Print program version information, then exit\n");
printf("\n");
}
@@ -55,7 +54,6 @@
{
int cont = 1, optchar, error, cd;
char *victim = NULL;
- char *self = NULL;
prog_name = argv[0];
@@ -69,10 +67,6 @@
exit(EXIT_SUCCESS);
break;
- case 's':
- self = optarg;
- break;
-
case 'O':
force = 1;
break;
@@ -122,7 +116,7 @@
goto fail;
}
- error = dispatch_fence_agent(cd, victim, self);
+ error = dispatch_fence_agent(cd, victim);
if (error)
goto fail_ccs;
next reply other threads:[~2006-12-01 19:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-01 19:57 rohara [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-10-29 5:48 [Cluster-devel] cluster/fence/fence_node fence_node.c fabbione
2006-12-01 19:17 rohara
2006-07-10 17:05 rohara
2006-07-07 20:01 teigland
2006-07-07 19:41 teigland
2006-07-07 19:40 teigland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061201195754.14888.qmail@sourceware.org \
--to=rohara@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.