From 36ac312e07f6b0ff214b21783f42131b90aa553f Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Wed, 5 Nov 2025 14:01:31 +0100 Subject: fix typos --- plugins/check_pgsql.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/check_pgsql.c') diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index 5fbffa70..0ce75e0a 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c @@ -270,7 +270,7 @@ int main(int argc, char **argv) { switch (query_result.error_code) { case QUERY_OK: { - // Query was succesful and there is a numerical result + // Query was successful and there is a numerical result sc_query = mp_set_subcheck_state(sc_query, STATE_OK); xasprintf(&sc_query.output, "%s succeeded", sc_query.output); @@ -286,7 +286,7 @@ int main(int argc, char **argv) { mp_add_perfdata_to_subcheck(&sc_query_compare, pd_query); if (query_compare_state == STATE_OK) { - xasprintf(&sc_query_compare.output, "query result '%f' is withing thresholds", + xasprintf(&sc_query_compare.output, "query result '%f' is within thresholds", query_result.numerical_result); } else { xasprintf(&sc_query_compare.output, "query result '%f' is violating thresholds", -- cgit v1.2.3-74-g34f1