$OpenBSD: patch-src_instrument_c,v 1.2 2009/04/25 22:07:37 okan Exp $
--- src/instrument.c.orig	Tue Jun  3 21:20:37 2008
+++ src/instrument.c	Thu Jul  3 13:02:36 2008
@@ -547,7 +547,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);
