rpms/nagios-plugins/FC-4 nagios-plugins-1.4.4-check_ide_smart.patch, NONE, 1.1 nagios-plugins-1.4.4-linux_raid.patch, NONE, 1.1

Michael Patrick McGrath (mmcgrath) fedora-extras-commits at redhat.com
Fri Oct 27 14:19:25 UTC 2006


Author: mmcgrath

Update of /cvs/extras/rpms/nagios-plugins/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28847/FC-4

Added Files:
	nagios-plugins-1.4.4-check_ide_smart.patch 
	nagios-plugins-1.4.4-linux_raid.patch 
Log Message:
Forgot to add patches

nagios-plugins-1.4.4-check_ide_smart.patch:

--- NEW FILE nagios-plugins-1.4.4-check_ide_smart.patch ---
--- nagios-plugins-1.4.4/plugins/check_ide_smart.c.orig	2006-10-19 03:25:16.000000000 +0300
+++ nagios-plugins-1.4.4/plugins/check_ide_smart.c	2006-10-26 11:28:53.000000000 +0300
@@ -439,7 +439,7 @@ print_values (values_t * p, thresholds_t
 
 
 void
-print_thresholds (thresholds_t * p) 
+smart_print_thresholds (thresholds_t * p) 
 {
 	threshold_t * threshold = p->thresholds;
 	int i;
@@ -541,7 +541,7 @@ print_help (void)
 void
 print_usage (void)
 {
-	printf (_("Usage:");
+  printf (_("Usage:"));
   printf ("%s [-d <device>] [-i <immediate>] [-q quiet] [-1 <auto-on>]",progname);
-  pritnf (" [-O <auto-off>] [-n <nagios>]\n");
+  printf (" %s\n", "[-O <auto-off>] [-n <nagios>]");
 }

nagios-plugins-1.4.4-linux_raid.patch:

--- NEW FILE nagios-plugins-1.4.4-linux_raid.patch ---
--- contrib/check_linux_raid.pl     2006-10-27 15:25:54.000000000 +0200
+++ contrib/check_linux_raid.pl 2006-10-27 15:24:02.000000000 +0200
@@ -23,7 +23,7 @@
 #        WARNING md0 status=[UUU_U], recovery=46.4%, finish=123.0min

 use strict;
-use lib utils.pm;
+use lib '/usr/lib/nagios/plugins';
 use utils qw(%ERRORS);





More information about the scm-commits mailing list