$OpenBSD: patch-src_instrument_c,v 1.3 2009/09/01 14:25:15 okan Exp $
--- src/instrument.c.orig	Fri Feb 27 15:18:32 2009
+++ src/instrument.c	Thu May 28 17:32:35 2009
@@ -542,7 +542,7 @@ while (dbcp->c_get(dbcp, &key, &value, DB_NEXT) == 0)
    
    tthen = (time_t)then;
 
-   snprintf(datebuf,CF_BUFSIZE-1,"%s",ctime(&tthen));
+   snprintf(datebuf,CF_MAXVARSIZE-1,"%s",ctime(&tthen));
    datebuf[strlen(datebuf)-9] = '\0';                     /* Chop off second and year */
 
    snprintf(addr,15,"%s",hostname+1);
