[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/cman/qdisk mkqdisk.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	lhh sourceware org	2006-11-21 14:50:49

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&r1=1.3&r2=1.4

--- cluster/cman/qdisk/mkqdisk.c	2006/06/23 21:32:45	1.3
+++ cluster/cman/qdisk/mkqdisk.c	2006/11/21 14:50:49	1.4
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]