From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28447 invoked by alias); 11 May 2009 15:18:41 -0000 Received: (qmail 28441 invoked by alias); 11 May 2009 15:18:41 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion2.fedora.phx.redhat.com Subject: cluster: STABLE3 - libgfscontrol: fix const warnings To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/STABLE3 X-Git-Reftype: branch X-Git-Oldrev: 25f20bd6e0c868fa0ca99c60247356f01923d104 X-Git-Newrev: 796997f1c01e48bce398a5a9258ee6c001ebc4a8 From: David Teigland Message-Id: <20090511151258.E04AF1201EC@lists.fedorahosted.org> Date: Mon, 11 May 2009 15:18:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00275.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=796997f1c01e48bce398a5a9258ee6c001ebc4a8 Commit: 796997f1c01e48bce398a5a9258ee6c001ebc4a8 Parent: 25f20bd6e0c868fa0ca99c60247356f01923d104 Author: Fabio M. Di Nitto AuthorDate: Wed May 6 08:50:17 2009 +0200 Committer: David Teigland CommitterDate: Mon May 11 10:05:06 2009 -0500 libgfscontrol: fix const warnings Signed-off-by: Fabio M. Di Nitto --- group/libgfscontrol/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/group/libgfscontrol/main.c b/group/libgfscontrol/main.c index f45af9d..dfe0464 100644 --- a/group/libgfscontrol/main.c +++ b/group/libgfscontrol/main.c @@ -48,7 +48,7 @@ static int do_write(int fd, void *buf, size_t count) return 0; } -static int do_connect(char *sock_path) +static int do_connect(const char *sock_path) { struct sockaddr_un sun; socklen_t addrlen;