summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-18 14:48:05 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-18 14:48:05 (GMT)
commit6fc6e86994a678ee6fb0fdcf3976cf8b1944ada2 (patch)
tree0f279bc4ccf8c86cb7945105573a4fd8e755048c
parent0b389d636e6c560f2ac22f27db6d18ebb09b474e (diff)
downloadmonitoring-plugins-6fc6e86994a678ee6fb0fdcf3976cf8b1944ada2.tar.gz
check_mysql_query: Use C99 booleans
-rw-r--r--plugins/check_mysql_query.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c
index ac2fb15..842b7a2 100644
--- a/plugins/check_mysql_query.c
+++ b/plugins/check_mysql_query.c
@@ -162,10 +162,10 @@ main (int argc, char **argv)
162 } 162 }
163 printf(_("'%s' returned %f | %s"), sql_query, value, 163 printf(_("'%s' returned %f | %s"), sql_query, value,
164 fperfdata("result", value, "", 164 fperfdata("result", value, "",
165 my_thresholds->warning?TRUE:FALSE, my_thresholds->warning?my_thresholds->warning->end:0, 165 my_thresholds->warning?true:false, my_thresholds->warning?my_thresholds->warning->end:0,
166 my_thresholds->critical?TRUE:FALSE, my_thresholds->critical?my_thresholds->critical->end:0, 166 my_thresholds->critical?true:false, my_thresholds->critical?my_thresholds->critical->end:0,
167 FALSE, 0, 167 false, 0,
168 FALSE, 0) 168 false, 0)
169 ); 169 );
170 printf("\n"); 170 printf("\n");
171 171