$OpenBSD: patch-src_log_c,v 1.5 2013/01/16 04:52:53 lteo Exp $
--- src/log.c.orig	Fri Sep 21 02:09:13 2012
+++ src/log.c	Tue Oct  9 22:24:01 2012
@@ -456,7 +456,7 @@ void PrintIPPkt(FILE * fp, int type, Packet * p)
     DEBUG_WRAP(DebugMessage(DEBUG_LOG, "PrintIPPkt type = %d\n", type););
 
     bzero((char *) timestamp, TIMEBUF_SIZE);
-    ts_print((struct timeval *) & p->pkth->ts, timestamp);
+    ts_print((struct sf_timeval32 *) & p->pkth->ts, timestamp);
 
     /* dump the timestamp */
     fwrite(timestamp, strlen(timestamp), 1, fp);
@@ -1943,7 +1943,7 @@ void PrintEapolPkt(FILE * fp, Packet * p)
 
 
     bzero((char *) timestamp, TIMEBUF_SIZE);
-    ts_print((struct timeval *) & p->pkth->ts, timestamp);
+    ts_print((struct sf_timeval32 *) & p->pkth->ts, timestamp);
 
     /* dump the timestamp */
     fwrite(timestamp, strlen(timestamp), 1, fp);
@@ -2117,7 +2117,7 @@ void PrintWifiPkt(FILE * fp, Packet * p)
 
 
     bzero((char *) timestamp, TIMEBUF_SIZE);
-    ts_print((struct timeval *) & p->pkth->ts, timestamp);
+    ts_print((struct sf_timeval32 *) & p->pkth->ts, timestamp);
 
     /* dump the timestamp */
     fwrite(timestamp, strlen(timestamp), 1, fp);
