From: Florian Forster Date: Mon, 14 Jul 2008 09:57:41 +0000 (+0200) Subject: snmp plugin: Fix two format strings. X-Git-Tag: collectd-4.4.2~1^2~5 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b6accbb246890a0cc74a2bdf5d41b7c1b89bbc94;p=collectd.git snmp plugin: Fix two format strings. --- diff --git a/src/snmp.c b/src/snmp.c index 6788ea9b..18246112 100644 --- a/src/snmp.c +++ b/src/snmp.c @@ -707,14 +707,14 @@ static value_t csnmp_value_list_to_value (struct variable_list *vl, int type, || (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 {