summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_dbi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_dbi.c b/plugins/check_dbi.c
index 84e3cb5b..035e30cd 100644
--- a/plugins/check_dbi.c
+++ b/plugins/check_dbi.c
@@ -394,7 +394,7 @@ int main(int argc, char **argv) {
394 mp_set_subcheck_state(sc_query, query_time_status); 394 mp_set_subcheck_state(sc_query, query_time_status);
395 395
396 if (query_time_status == STATE_OK) { 396 if (query_time_status == STATE_OK) {
397 xasprintf(&sc_query.output, "Query duration '%f' is withing given thresholds", 397 xasprintf(&sc_query.output, "Query duration '%f' is within given thresholds",
398 query_res.query_duration); 398 query_res.query_duration);
399 } else { 399 } else {
400 xasprintf(&sc_query.output, "Query duration '%f' violates the given thresholds", 400 xasprintf(&sc_query.output, "Query duration '%f' violates the given thresholds",
@@ -895,7 +895,7 @@ static do_query_result do_query(dbi_conn conn, mp_dbi_metric metric, mp_dbi_type
895 printf("Query duration: %f\n", result.query_duration); 895 printf("Query duration: %f\n", result.query_duration);
896 } 896 }
897 897
898 // Default state is OK, all error will be set explicitely 898 // Default state is OK, all error will be set explicitly
899 mp_state_enum query_processing_state = STATE_OK; 899 mp_state_enum query_processing_state = STATE_OK;
900 { 900 {
901 901