summaryrefslogtreecommitdiffstats
path: root/lib/output.c
diff options
context:
space:
mode:
authorDirk Mueller <dmueller@suse.com>2026-02-16 11:21:21 +0100
committerGitHub <noreply@github.com>2026-02-16 11:21:21 +0100
commit423d0c52674bfa4ec49e4ae8bce645131f657f74 (patch)
treea27276c89d37e3753b5ead6abe56132f2801d444 /lib/output.c
parent0f0865c910096c95594ac09929708e84934e46df (diff)
downloadmonitoring-plugins-423d0c52674bfa4ec49e4ae8bce645131f657f74.tar.gz
Fix a few typos (#2231)
Diffstat (limited to 'lib/output.c')
-rw-r--r--lib/output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/output.c b/lib/output.c
index d650a3c5..d1a8d3b9 100644
--- a/lib/output.c
+++ b/lib/output.c
@@ -165,7 +165,7 @@ int mp_add_subcheck_to_subcheck(mp_subcheck check[static 1], mp_subcheck subchec
165void mp_add_summary(mp_check check[static 1], char *summary) { check->summary = summary; } 165void mp_add_summary(mp_check check[static 1], char *summary) { check->summary = summary; }
166 166
167/* 167/*
168 * Generate the summary string of a mp_check object based on it's subchecks 168 * Generate the summary string of a mp_check object based on its subchecks
169 */ 169 */
170char *get_subcheck_summary(mp_check check) { 170char *get_subcheck_summary(mp_check check) {
171 mp_subcheck_list *subchecks = check.subchecks; 171 mp_subcheck_list *subchecks = check.subchecks;
@@ -243,7 +243,7 @@ mp_state_enum mp_compute_check_state(const mp_check check) {
243} 243}
244 244
245/* 245/*
246 * Generate the result state of a mp_check object based on it's own state and it's subchecks states 246 * Generate the result state of a mp_check object based on its own state and its subchecks states
247 */ 247 */
248mp_state_enum mp_eval_check_default(const mp_check check) { 248mp_state_enum mp_eval_check_default(const mp_check check) {
249 assert(check.subchecks != NULL); // a mp_check without subchecks is invalid, die here 249 assert(check.subchecks != NULL); // a mp_check without subchecks is invalid, die here