From: Marc Fournier Date: Tue, 2 Dec 2014 11:51:10 +0000 (+0100) Subject: ceph: replace erroneous format string in DEBUG statement X-Git-Tag: collectd-5.5.0~80^2~5^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=69562c34bda10ec261d17242e480c040f8f659cf;p=collectd.git ceph: replace erroneous format string in DEBUG statement Fixes build error on 32bit systems --- 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)