From 6d41ea6a5dcba424d7c7658c6eeccc1ea0d8a0f2 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 24 Mar 2010 16:37:53 +0100 Subject: [PATCH] snmp plugin: Fix a format string. --- src/snmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snmp.c b/src/snmp.c index 00df3779..fee2f6d5 100644 --- a/src/snmp.c +++ b/src/snmp.c @@ -1127,7 +1127,7 @@ static int csnmp_dispatch_table (host_definition_t *host, data_definition_t *dat char temp[DATA_MAX_NAME_LEN]; if (instance_list_ptr == NULL) - ssnprintf (temp, sizeof (temp), "%u", (uint32_t) subid); + ssnprintf (temp, sizeof (temp), "%"PRIu32, (uint32_t) subid); else sstrncpy (temp, instance_list_ptr->instance, sizeof (temp)); -- 2.30.2