mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-08 16:26:23 -04:00
printf bug for large numbers - Jeff Murray
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@57 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
bdb73692bf
commit
593c4e2a0e
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue