summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins/files
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2007-07-23 22:30:42 +0000
committerMartin Matuska <mm@FreeBSD.org>2007-07-23 22:30:42 +0000
commit11402d5fe16ba1b71148c99b657283f804dc6ce9 (patch)
tree30e508947f84fba19866b990b48de848417bf9fd /net-mgmt/nagios-plugins/files
parent- Update to 1.7 (diff)
- add patch for 7-CURRENT by Petr Lampa <lampa@fit.vutbr.cz>
PR: ports/114793 Approved by: maintainer, garga (mentor)
Notes
Notes: svn path=/head/; revision=196156
Diffstat (limited to 'net-mgmt/nagios-plugins/files')
-rw-r--r--net-mgmt/nagios-plugins/files/patch-lib__utils_base.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/nagios-plugins/files/patch-lib__utils_base.c b/net-mgmt/nagios-plugins/files/patch-lib__utils_base.c
new file mode 100644
index 000000000000..0981958ae0ad
--- /dev/null
+++ b/net-mgmt/nagios-plugins/files/patch-lib__utils_base.c
@@ -0,0 +1,11 @@
+--- lib/utils_base.c.orig Sat Jul 21 17:42:49 2007
++++ lib/utils_base.c Sat Jul 21 17:43:07 2007
+@@ -89,7 +89,7 @@
+ {
+ thresholds *temp_thresholds = NULL;
+
+- temp_thresholds = malloc(sizeof(temp_thresholds));
++ temp_thresholds = malloc(sizeof(thresholds));
+
+ temp_thresholds->warning = NULL;
+ temp_thresholds->critical = NULL;