public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: RHEL5 - GFS2: gfs2_convert, parameter not understood on ppc
@ 2009-06-25 18:48 Bob Peterson
  0 siblings, 0 replies; only message in thread
From: Bob Peterson @ 2009-06-25 18:48 UTC (permalink / raw)
  To: cluster-cvs-relay

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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-25 18:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-25 18:48 cluster: RHEL5 - GFS2: gfs2_convert, parameter not understood on ppc Bob Peterson

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 read-only IMAP folder(s) and NNTP newsgroup(s).