summaryrefslogtreecommitdiffstats
path: root/plugins/check_mrtg.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_mrtg.c')
-rw-r--r--plugins/check_mrtg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c
index 5924f17..e138264 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