cluster: STABLE3 - gfs_control: fix const warnings

David Teigland teigland@fedoraproject.org
Mon May 11 15:13:00 GMT 2009


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=c1624bb4b6815932ba3c378cd8a808fa088ad2b0
Commit:        c1624bb4b6815932ba3c378cd8a808fa088ad2b0
Parent:        a7f2ee8845ee984c0e25703595acc8b2cef9640d
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Wed May 6 09:07:34 2009 +0200
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Mon May 11 10:05:06 2009 -0500

gfs_control: fix const warnings

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 group/gfs_control/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/group/gfs_control/main.c b/group/gfs_control/main.c
index a910efc..7db14e7 100644
--- a/group/gfs_control/main.c
+++ b/group/gfs_control/main.c
@@ -255,7 +255,7 @@ int member_int(struct gfsc_node *n)
 	return 0;
 }
 
-char *condition_str(int cond)
+const char *condition_str(int cond)
 {
 	switch (cond) {
 	case 0:



More information about the Cluster-cvs mailing list