src/utils_threshold.c: Fix wrong output (was `min, min', should be `min, max') in...
authorDieter Bloms <collectd@bloms.de>
Sun, 25 May 2008 09:15:15 +0000 (11:15 +0200)
committerFlorian Forster <octo@crystal.wlan.home.verplant.org>
Sun, 25 May 2008 09:15:15 +0000 (11:15 +0200)
Resolves: #16

src/utils_threshold.c

index b4fb855..4da8943 100644 (file)
@@ -645,7 +645,7 @@ static int ut_report_state (const data_set_t *ds,
            "%f. That is within the %s region of %f and %f.",
            ds->ds[ds_index].name, values[ds_index],
            (state == STATE_ERROR) ? "failure" : "warning",
-           min, min);
+           min, max);
       }
       else
       {