summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins/files
diff options
context:
space:
mode:
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;