From 69562c34bda10ec261d17242e480c040f8f659cf Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Tue, 2 Dec 2014 12:51:10 +0100 Subject: [PATCH] ceph: replace erroneous format string in DEBUG statement Fixes build error on 32bit systems --- src/ceph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph.c b/src/ceph.c index 5726e010..645c27c9 100644 --- a/src/ceph.c +++ b/src/ceph.c @@ -985,7 +985,7 @@ static int node_handler_fetch_data(void *arg, const char *val, const char *key) { double sum, result; sscanf(val, "%lf", &sum); - DEBUG("avgcount:%ld",vtmp->avgcount); + DEBUG("avgcount:%" PRIu64 "",vtmp->avgcount); DEBUG("sum:%lf",sum); if(vtmp->avgcount == 0) -- 2.30.2