[Nagiosplug-checkins] nagiosplug/plugins check_ide_smart.c,1.3,1.4

Benoit Mortier opensides at users.sourceforge.net
Sun Jan 2 06:01:09 CET 2005


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12567/plugins

Modified Files:
	check_ide_smart.c 
Log Message:

fixing bug #1094326

still need to check the makefile for check_ide_smart.c



Index: check_ide_smart.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ide_smart.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- check_ide_smart.c	25 Dec 2004 23:17:44 -0000	1.3
+++ check_ide_smart.c	2 Jan 2005 14:00:27 -0000	1.4
@@ -447,8 +447,7 @@
 }
 
 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 @@
 
 
 void
-print_help () 
+print_help (void)
 {
 	print_revision (progname, revision);
 
@@ -515,5 +514,5 @@
 void
 print_usage (void)
 {
-	printf ("Usage: %s \n"), progname);
+	printf ("Usage: %s \n", progname);
 }





More information about the Commits mailing list