Code

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 b4fb8554d29df5f9e42c0ac937333878d05193ae..4da8943cdbf3c4a403dfb2e2b7b5ffb5f5405813 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
       {