diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-11-12 05:53:06 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-11-12 05:53:06 +0000 |
commit | 95c6a6d05d6638ca0043620df21a0967e17be4d3 (patch) | |
tree | 7bef3c9b96ea7180174f78978131d632c507550a /plugins/check_mrtg.c | |
parent | 7626b3413d1d84aa1768ad47626d044cf3f2791a (diff) | |
download | monitoring-plugins-95c6a6d05d6638ca0043620df21a0967e17be4d3.tar.gz |
clean up compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@767 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_mrtg.c')
-rw-r--r-- | plugins/check_mrtg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c index 5924f179..e1382644 100644 --- a/plugins/check_mrtg.c +++ b/plugins/check_mrtg.c | |||
@@ -140,9 +140,9 @@ main (int argc, char **argv) | |||
140 | asprintf (&message, "%s. %s = %lu %s|%s", | 140 | asprintf (&message, "%s. %s = %lu %s|%s", |
141 | (use_average == TRUE) ? _("Avg") : _("Max"), | 141 | (use_average == TRUE) ? _("Avg") : _("Max"), |
142 | label, rate, units, | 142 | label, rate, units, |
143 | perfdata(label, rate, units, | 143 | perfdata(label, (long) rate, units, |
144 | value_warning_threshold, value_warning_threshold, | 144 | (int) value_warning_threshold, (long) value_warning_threshold, |
145 | value_critical_threshold, value_critical_threshold, | 145 | (int) value_critical_threshold, (long) value_critical_threshold, |
146 | 0, 0, 0, 0)); | 146 | 0, 0, 0, 0)); |
147 | } | 147 | } |
148 | 148 | ||