diff options
-rw-r--r-- | plugins/check_snmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 8e977e8..bfc49aa 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -221,7 +221,7 @@ main (int argc, char **argv) | |||
221 | p2 = strpbrk (p2, "0123456789"); | 221 | p2 = strpbrk (p2, "0123456789"); |
222 | response_value[i] = strtoul (p2, NULL, 10); | 222 | response_value[i] = strtoul (p2, NULL, 10); |
223 | iresult = check_num (i); | 223 | iresult = check_num (i); |
224 | show = ssprintf (show, "%d", response_value[i]); | 224 | show = ssprintf (show, "%lu", response_value[i]); |
225 | } | 225 | } |
226 | 226 | ||
227 | else if (eval_method[i] & CRIT_STRING) { | 227 | else if (eval_method[i] & CRIT_STRING) { |