This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: RHEL5 - GFS2: gfs2_convert, parameter not understood on ppc


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=5b0b8f8002f1ab4b4a8cfff92649d9ed50746795
Commit:        5b0b8f8002f1ab4b4a8cfff92649d9ed50746795
Parent:        85bc0c65b53325c5a0e0489d0b04bda15e83d3f2
Author:        Bob Peterson <rpeterso@redhat.com>
AuthorDate:    Thu Jun 25 13:38:15 2009 -0500
Committer:     Bob Peterson <rpeterso@redhat.com>
CommitterDate: Thu Jun 25 13:38:15 2009 -0500

GFS2: gfs2_convert, parameter not understood on ppc

bz 506629

The getopt function returns an int, but a char was being used.
---
 gfs2/convert/gfs2_convert.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gfs2/convert/gfs2_convert.c b/gfs2/convert/gfs2_convert.c
index 61c03da..0e0e5d8 100644
--- a/gfs2/convert/gfs2_convert.c
+++ b/gfs2/convert/gfs2_convert.c
@@ -1223,7 +1223,7 @@ void usage(const char *name)
 void process_parameters(int argc, char **argv, struct gfs2_options *opts)
 
 {
-	char c;
+	int c;
 
 	opts->yes = 0;
 	opts->no = 0;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]