From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13587 invoked by alias); 23 Jun 2009 09:01:38 -0000 Received: (qmail 13344 invoked by alias); 23 Jun 2009 09:01:37 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-1.9 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: dlm: master - group: fix print formats To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: dlm.git X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 8941f87333ce16c59894bcb35b59d77a5b31c078 X-Git-Newrev: 16daac0e280bae8b2417169ad4dfedf1f8b84282 From: "Fabio M. Di Nitto" Message-Id: <20090623090104.D7A89120380@lists.fedorahosted.org> Date: Tue, 23 Jun 2009 09:01: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/msg00726.txt.bz2 Gitweb: http://git.fedorahosted.org/git/dlm.git?p=dlm.git;a=commitdiff;h=16daac0e280bae8b2417169ad4dfedf1f8b84282 Commit: 16daac0e280bae8b2417169ad4dfedf1f8b84282 Parent: 8941f87333ce16c59894bcb35b59d77a5b31c078 Author: Fabio M. Di Nitto AuthorDate: Tue May 12 14:37:07 2009 +0200 Committer: Fabio M. Di Nitto CommitterDate: Tue Jun 23 10:51:39 2009 +0200 group: fix print formats stable3/group/dlm_controld/cpg.c:1372: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ stable3/group/dlm_controld/cpg.c:1372: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘size_t’ stable3/group/dlm_controld/cpg.c:1963: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ stable3/group/dlm_controld/cpg.c:1963: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘size_t’ Signed-off-by: Fabio M. Di Nitto --- group/dlm_controld/cpg.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/group/dlm_controld/cpg.c b/group/dlm_controld/cpg.c index a33687a..3e7a48f 100644 --- a/group/dlm_controld/cpg.c +++ b/group/dlm_controld/cpg.c @@ -1371,7 +1371,7 @@ static void deliver_cb(cpg_handle_t handle, } if (len < sizeof(*hd)) { - log_error("deliver_cb short message %d", len); + log_error("deliver_cb short message %zd", len); return; } @@ -1962,7 +1962,7 @@ static void deliver_cb_daemon(cpg_handle_t handle, struct dlm_header *hd; if (len < sizeof(*hd)) { - log_error("deliver_cb short message %d", len); + log_error("deliver_cb short message %zd", len); return; }