summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1b0b124)
raw | patch | inline | side by side (parent: 1b0b124)
author | Florian Forster <octo@noris.net> | |
Mon, 14 Jul 2008 09:57:41 +0000 (11:57 +0200) | ||
committer | Florian Forster <octo@noris.net> | |
Mon, 14 Jul 2008 09:57:41 +0000 (11:57 +0200) |
src/snmp.c | patch | blob | history |
diff --git a/src/snmp.c b/src/snmp.c
index 6788ea9b8c26f31706f7b78a5c3df3336bb6f96d..182461128e51f4cac23e2d4abe9aa83edcb8014a 100644 (file)
--- a/src/snmp.c
+++ b/src/snmp.c
|| (vl->type == ASN_GAUGE))
{
temp = (uint32_t) *vl->val.integer;
- DEBUG ("snmp plugin: Parsed int32 value is %llu.", temp);
+ DEBUG ("snmp plugin: Parsed int32 value is %"PRIu64".", temp);
}
else if (vl->type == ASN_COUNTER64)
{
temp = (uint32_t) vl->val.counter64->high;
temp = temp << 32;
temp += (uint32_t) vl->val.counter64->low;
- DEBUG ("snmp plugin: Parsed int64 value is %llu.", temp);
+ DEBUG ("snmp plugin: Parsed int64 value is %"PRIu64".", temp);
}
else
{