cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: lhh@sourceware.org <lhh@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/cman/qdisk mkqdisk.c
Date: 21 Nov 2006 14:50:01 -0000	[thread overview]
Message-ID: <20061121145001.13167.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	lhh at sourceware.org	2006-11-21 14:50:01

Modified files:
	cman/qdisk     : mkqdisk.c 

Log message:
	Fix #213218

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/qdisk/mkqdisk.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1.2.2&r2=1.1.2.3

--- cluster/cman/qdisk/mkqdisk.c	2006/06/23 21:31:32	1.1.2.2
+++ cluster/cman/qdisk/mkqdisk.c	2006/11/21 14:50:01	1.1.2.3
@@ -39,9 +39,9 @@
 	char *newdev = NULL, *newlabel = NULL;
 	int rv;
 
-	printf("mkqdisk v0.5\n");
+	printf("mkqdisk v0.5.1\n");
 
-	while ((rv = getopt(argc, argv, "Lfc:l:h")) != EOF) {
+	while ((rv = getopt(argc, argv, "Lf:c:l:h")) != EOF) {
 		switch (rv) {
 		case 'L':
 			/* List */
@@ -53,7 +53,7 @@
 			close(2);
 			return find_partitions("/proc/partitions",
 					       optarg, device,
-					       sizeof(device), 0);
+					       sizeof(device), 1);
 		case 'c':
 			newdev = optarg;
 			break;



             reply	other threads:[~2006-11-21 14:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-21 14:50 lhh [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-11-21 14:52 [Cluster-devel] cluster/cman/qdisk mkqdisk.c lhh
2006-11-21 14:50 lhh
2006-11-21 14:50 lhh
2006-06-23 21:32 lhh
2006-06-23 21:31 lhh

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=20061121145001.13167.qmail@sourceware.org \
    --to=lhh@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).