cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: jbrassow@sourceware.org <jbrassow@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/cmirror/src functions.c
Date: 6 Dec 2007 22:12:22 -0000	[thread overview]
Message-ID: <20071206221222.11886.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	jbrassow at sourceware.org	2007-12-06 22:12:21

Modified files:
	cmirror/src    : functions.c 

Log message:
	- Bug 384901: RHEL5 cmirror tracker: unable to create a --nosync mirror
	
	- fix argument counting.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cmirror/src/functions.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.2.5&r2=1.1.2.6

--- cluster/cmirror/src/Attic/functions.c	2007/11/28 20:34:22	1.1.2.5
+++ cluster/cmirror/src/Attic/functions.c	2007/12/06 22:12:21	1.1.2.6
@@ -396,9 +396,9 @@
 	if (!strtoll(argv[0], &p, 0) || *p) {
 		disk_log = 1;
 
-		if ((argc < 3) || (argc > 4)) {
+		if ((argc < 4) || (argc > 5)) {
 			LOG_ERROR("Too %s arguments to clustered_disk log type",
-				  (argc < 3) ? "few" : "many");
+				  (argc < 4) ? "few" : "many");
 			r = -EINVAL;
 			goto fail;
 		}
@@ -412,9 +412,9 @@
 	} else {
 		disk_log = 0;
 
-		if ((argc < 2) || (argc > 3)) {
+		if ((argc < 3) || (argc > 4)) {
 			LOG_ERROR("Too %s arguments to clustered_core log type",
-				  (argc < 2) ? "few" : "many");
+				  (argc < 3) ? "few" : "many");
 			r = -EINVAL;
 			goto fail;
 		}



             reply	other threads:[~2007-12-06 22:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-06 22:12 jbrassow [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-02-13 15:06 [Cluster-devel] cluster/cmirror/src functions.c jbrassow
2007-11-28 20:34 jbrassow

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=20071206221222.11886.qmail@sourceware.org \
    --to=jbrassow@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).