summaryrefslogtreecommitdiffstats
path: root/plugins/check_snmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_snmp.c')
-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 e6707a08..206073b6 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -424,7 +424,7 @@ main (int argc, char **argv)
424 temp_double+=(double)18446744069414584320.0; /* 2^64-2^32 */; 424 temp_double+=(double)18446744069414584320.0; /* 2^64-2^32 */;
425 } 425 }
426 /* Convert to per second, then use multiplier */ 426 /* Convert to per second, then use multiplier */
427 temp_double = temp_double/(duration*rate_multiplier); 427 temp_double = temp_double/duration*rate_multiplier;
428 iresult = get_status(temp_double, thlds[i]); 428 iresult = get_status(temp_double, thlds[i]);
429 asprintf (&show, conv, temp_double); 429 asprintf (&show, conv, temp_double);
430 } 430 }