From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24545 invoked by alias); 11 May 2009 15:13:13 -0000 Received: (qmail 24490 invoked by alias); 11 May 2009 15:13:10 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_64,SPF_HELO_PASS X-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_64,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 - dlm_tool: fix format 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: 2025c4a4d207679f1c2fafe396b38d51d9379f23 X-Git-Newrev: 96d261a9cae37c23b807abb584138dd749feee5a From: David Teigland Message-Id: <20090511151235.3ACDD120214@lists.fedorahosted.org> Date: Mon, 11 May 2009 15:14: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/msg00269.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=96d261a9cae37c23b807abb584138dd749feee5a Commit: 96d261a9cae37c23b807abb584138dd749feee5a Parent: 2025c4a4d207679f1c2fafe396b38d51d9379f23 Author: Fabio M. Di Nitto AuthorDate: Wed May 6 07:05:55 2009 +0200 Committer: David Teigland CommitterDate: Mon May 11 10:05:05 2009 -0500 dlm_tool: fix format warnings cluster-stable3/dlm/tool/main.c: In function ‘print_lkb’: cluster-stable3/dlm/tool/main.c:668: warning: format ‘%llu’ expects type ‘long long unsigned int *’, but argument 8 has type ‘uint64_t *’ cluster-stable3/dlm/tool/main.c:668: warning: format ‘%llu’ expects type ‘long long unsigned int *’, but argument 18 has type ‘uint64_t *’ cluster-stable3/dlm/tool/main.c:668: warning: format ‘%llu’ expects type ‘long long unsigned int *’, but argument 19 has type ‘uint64_t *’ Signed-off-by: Fabio M. Di Nitto --- dlm/tool/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlm/tool/main.c b/dlm/tool/main.c index 732ff28..c4d55c4 100644 --- a/dlm/tool/main.c +++ b/dlm/tool/main.c @@ -647,7 +647,7 @@ static void print_lkb(char *line, struct rinfo *ri) char type[4]; int rv; - rv = sscanf(line, "%s %x %d %x %u %llu %x %x %d %d %d %d %d %d %u %llu %llu", + rv = sscanf(line, "%s %x %d %x %u %"PRIu64" %x %x %d %d %d %d %d %d %u %"PRIu64" %"PRIu64, type, &lkb.id, &lkb.nodeid,