]> git.tokkee.org Git - nagiosplug.git/commitdiff

Code

fixing bug #1094326
authorBenoit Mortier <opensides@users.sourceforge.net>
Sun, 2 Jan 2005 14:00:27 +0000 (14:00 +0000)
committerBenoit Mortier <opensides@users.sourceforge.net>
Sun, 2 Jan 2005 14:00:27 +0000 (14:00 +0000)
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

plugins/check_ide_smart.c

index 16cd1a875b7289fa1bdb7c7da2d31ea413383510..0b7b23048c14971bd6d4edece2c8b6f5475952d3 100644 (file)
@@ -447,8 +447,7 @@ print_thresholds (thresholds_t * p)
 }
 
 int
-smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0,
-                                                                       char show_error) 
+smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0, char show_error) 
 {
        int e = 0;
        __u8 args[4];
@@ -487,7 +486,7 @@ smart_read_thresholds (int fd, thresholds_t * thresholds)
 
 
 void
-print_help (
+print_help (void)
 {
        print_revision (progname, revision);
 
@@ -515,5 +514,5 @@ Usage: %s [DEVICE] [OPTION]\n\
 void
 print_usage (void)
 {
-       printf ("Usage: %s \n"), progname);
+       printf ("Usage: %s \n", progname);
 }