aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_snmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index 8e977e82..bfc49aa8 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -221,7 +221,7 @@ main (int argc, char **argv)
p2 = strpbrk (p2, "0123456789");
response_value[i] = strtoul (p2, NULL, 10);
iresult = check_num (i);
- show = ssprintf (show, "%d", response_value[i]);
+ show = ssprintf (show, "%lu", response_value[i]);
}
else if (eval_method[i] & CRIT_STRING) {