diff options
| author | Benoit Mortier <opensides@users.sourceforge.net> | 2005-01-02 14:00:27 +0000 |
|---|---|---|
| committer | Benoit Mortier <opensides@users.sourceforge.net> | 2005-01-02 14:00:27 +0000 |
| commit | 9054eb6bab9066c624320c4f9f5859abead0fee9 (patch) | |
| tree | 80b137b368a57bca9844de8d565ccdb6f2782a75 | |
| parent | 187f86275426bfb501c7180c48161e1e22af1ef7 (diff) | |
| download | monitoring-plugins-9054eb6bab9066c624320c4f9f5859abead0fee9.tar.gz | |
fixing bug #1094326
still need to check the makefile for check_ide_smart.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1075 f882894a-f735-0410-b71e-b25c423dba1c
| -rw-r--r-- | plugins/check_ide_smart.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c index 16cd1a87..0b7b2304 100644 --- a/plugins/check_ide_smart.c +++ b/plugins/check_ide_smart.c | |||
| @@ -447,8 +447,7 @@ print_thresholds (thresholds_t * p) | |||
| 447 | } | 447 | } |
| 448 | 448 | ||
| 449 | int | 449 | int |
| 450 | smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0, | 450 | smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0, char show_error) |
| 451 | char show_error) | ||
| 452 | { | 451 | { |
| 453 | int e = 0; | 452 | int e = 0; |
| 454 | __u8 args[4]; | 453 | __u8 args[4]; |
| @@ -487,7 +486,7 @@ smart_read_thresholds (int fd, thresholds_t * thresholds) | |||
| 487 | 486 | ||
| 488 | 487 | ||
| 489 | void | 488 | void |
| 490 | print_help () | 489 | print_help (void) |
| 491 | { | 490 | { |
| 492 | print_revision (progname, revision); | 491 | print_revision (progname, revision); |
| 493 | 492 | ||
| @@ -515,5 +514,5 @@ Usage: %s [DEVICE] [OPTION]\n\ | |||
| 515 | void | 514 | void |
| 516 | print_usage (void) | 515 | print_usage (void) |
| 517 | { | 516 | { |
| 518 | printf ("Usage: %s \n"), progname); | 517 | printf ("Usage: %s \n", progname); |
| 519 | } | 518 | } |
