diff options
Diffstat (limited to 'plugins/check_real.c')
| -rw-r--r-- | plugins/check_real.c | 4 |
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 = |
