summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 40783e8)
raw | patch | inline | side by side (parent: 40783e8)
author | Florian Forster <octo@huhu.verplant.org> | |
Wed, 24 Mar 2010 15:37:53 +0000 (16:37 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 24 Mar 2010 15:38:31 +0000 (16:38 +0100) |
src/snmp.c | patch | blob | history |
diff --git a/src/snmp.c b/src/snmp.c
index 00df3779bb52907c001de892b5ffae6ce9c5a442..fee2f6d50a3b6054e23781811429ac5a6cb4bd0b 100644 (file)
--- 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));