From b6accbb246890a0cc74a2bdf5d41b7c1b89bbc94 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 14 Jul 2008 11:57:41 +0200 Subject: [PATCH] snmp plugin: Fix two format strings. --- src/snmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.11.0