projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8508c65
)
ceph: replace erroneous format string in DEBUG statement
author
Marc Fournier
<marc.fournier@camptocamp.com>
Tue, 2 Dec 2014 11:51:10 +0000
(12:51 +0100)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Wed, 10 Dec 2014 14:33:12 +0000
(15:33 +0100)
Fixes build error on 32bit systems
src/ceph.c
patch
|
blob
|
history
diff --git
a/src/ceph.c
b/src/ceph.c
index
5726e01
..
645c27c
100644
(file)
--- 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)