ports/net-mgmt/nagios-plugins/files/patch-lib__utils_base.c
Martin Matuska 11402d5fe1 - add patch for 7-CURRENT by Petr Lampa <lampa@fit.vutbr.cz>
PR:		ports/114793
Approved by:	maintainer, garga (mentor)
2007-07-23 22:30:42 +00:00

11 lines
332 B
C

--- 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;