summaryrefslogtreecommitdiffstats
path: root/plugins/check_real.c
diff options
context:
space:
mode:
authorDirk Mueller <dmueller@suse.com>2026-02-16 11:22:39 +0100
committerGitHub <noreply@github.com>2026-02-16 11:22:39 +0100
commit07a249a5d74a980ca78cead569de5351963cc561 (patch)
tree020e74baf838d6bf0bd93aaed9cc6e6218fd102c /plugins/check_real.c
parent423d0c52674bfa4ec49e4ae8bce645131f657f74 (diff)
downloadmonitoring-plugins-07a249a5d74a980ca78cead569de5351963cc561.tar.gz
Fix typo in enum MP_PARSING_SUCCES(S) (#2233)
Diffstat (limited to 'plugins/check_real.c')
-rw-r--r--plugins/check_real.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_real.c b/plugins/check_real.c
index 15c8a20c..b415578f 100644
--- a/plugins/check_real.c
+++ b/plugins/check_real.c
@@ -409,7 +409,7 @@ check_real_config_wrapper process_arguments(int argc, char **argv) {
409 case 'w': /* warning time threshold */ 409 case 'w': /* warning time threshold */
410 { 410 {
411 mp_range_parsed critical_range = mp_parse_range_string(optarg); 411 mp_range_parsed critical_range = mp_parse_range_string(optarg);
412 if (critical_range.error != MP_PARSING_SUCCES) { 412 if (critical_range.error != MP_PARSING_SUCCESS) {
413 die(STATE_UNKNOWN, "failed to parse warning threshold: %s", optarg); 413 die(STATE_UNKNOWN, "failed to parse warning threshold: %s", optarg);
414 } 414 }
415 result.config.time_thresholds = 415 result.config.time_thresholds =
@@ -418,7 +418,7 @@ check_real_config_wrapper process_arguments(int argc, char **argv) {
418 case 'c': /* critical time threshold */ 418 case 'c': /* critical time threshold */
419 { 419 {
420 mp_range_parsed critical_range = mp_parse_range_string(optarg); 420 mp_range_parsed critical_range = mp_parse_range_string(optarg);
421 if (critical_range.error != MP_PARSING_SUCCES) { 421 if (critical_range.error != MP_PARSING_SUCCESS) {
422 die(STATE_UNKNOWN, "failed to parse critical threshold: %s", optarg); 422 die(STATE_UNKNOWN, "failed to parse critical threshold: %s", optarg);
423 } 423 }
424 result.config.time_thresholds = 424 result.config.time_thresholds =