diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_ide_smart.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c index e30d89c..5dcf7a3 100644 --- a/plugins/check_ide_smart.c +++ b/plugins/check_ide_smart.c | |||
@@ -437,23 +437,6 @@ print_values (values_t * p, thresholds_t * t) | |||
437 | } | 437 | } |
438 | 438 | ||
439 | 439 | ||
440 | |||
441 | void | ||
442 | print_thresholds (thresholds_t * p) | ||
443 | { | ||
444 | threshold_t * threshold = p->thresholds; | ||
445 | int i; | ||
446 | printf ("\n"); | ||
447 | printf ("SmartRevision=%d\n", p->revision); | ||
448 | for (i = 0; i < NR_ATTRIBUTES; i++) { | ||
449 | if (threshold->id) { | ||
450 | printf ("Id=%3d, Threshold=%3d\n", threshold->id, | ||
451 | threshold->threshold); } | ||
452 | ++threshold; | ||
453 | } | ||
454 | printf ("CheckSum=%d\n", p->checksum); | ||
455 | } | ||
456 | |||
457 | int | 440 | int |
458 | smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0, char show_error) | 441 | smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0, char show_error) |
459 | { | 442 | { |
@@ -541,7 +524,7 @@ print_help (void) | |||
541 | void | 524 | void |
542 | print_usage (void) | 525 | print_usage (void) |
543 | { | 526 | { |
544 | printf (_("Usage:"); | 527 | printf (_("Usage:")); |
545 | printf ("%s [-d <device>] [-i <immediate>] [-q quiet] [-1 <auto-on>]",progname); | 528 | printf ("%s [-d <device>] [-i <immediate>] [-q quiet] [-1 <auto-on>]",progname); |
546 | pritnf (" [-O <auto-off>] [-n <nagios>]\n"); | 529 | printf (" [-O <auto-off>] [-n <nagios>]\n"); |
547 | } | 530 | } |