$NetBSD: patch-aa,v 1.4 2009/03/24 19:54:54 bouyer Exp $

--- lib/utils_base.c.orig	2008-03-11 01:10:23.000000000 +0100
+++ lib/utils_base.c	2009-03-23 12:39:57.000000000 +0100
@@ -104,7 +104,7 @@
 {
 	thresholds *temp_thresholds = NULL;
 
-	temp_thresholds = malloc(sizeof(temp_thresholds));
+	temp_thresholds = malloc(sizeof(*temp_thresholds));
 
 	temp_thresholds->warning = NULL;
 	temp_thresholds->critical = NULL;
