summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bdb7369)
raw | patch | inline | side by side (parent: bdb7369)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Mon, 24 Jun 2002 20:41:25 +0000 (20:41 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Mon, 24 Jun 2002 20:41:25 +0000 (20:41 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@57 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_snmp.c | patch | blob | history |
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index 8e977e82f726be5852252ebe116eb2121746ed40..bfc49aa8e7d7e78adcf1748a94fb7f0e83d70e71 100644 (file)
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
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) {