$OpenBSD: patch-src_log_c,v 1.1 2008/02/12 14:13:32 rui Exp $
--- src/log.c.orig	Mon Aug 20 19:40:24 2007
+++ src/log.c	Mon Nov 19 22:32:12 2007
@@ -355,7 +355,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 timeval32 *) & p->pkth->ts, timestamp);
 
     /* dump the timestamp */
     fwrite(timestamp, strlen(timestamp), 1, fp);
@@ -800,7 +800,7 @@ void PrintArpHeader(FILE * fp, Packet * p)
 
     bzero((struct in_addr *) &ip_addr, sizeof(struct in_addr));
     bzero((char *) timestamp, TIMEBUF_SIZE);
-    ts_print((struct timeval *) & p->pkth->ts, timestamp);
+    ts_print((struct timeval32 *) & p->pkth->ts, timestamp);
 
     /* determine what to use as MAC src and dst */
     if (p->eh != NULL) 
@@ -1874,7 +1874,7 @@ void PrintEapolPkt(FILE * fp, Packet * p)
   
 
     bzero((char *) timestamp, TIMEBUF_SIZE);
-    ts_print((struct timeval *) & p->pkth->ts, timestamp);
+    ts_print((struct timeval32 *) & p->pkth->ts, timestamp);
 
     /* dump the timestamp */
     fwrite(timestamp, strlen(timestamp), 1, fp);
@@ -2048,7 +2048,7 @@ void PrintWifiPkt(FILE * fp, Packet * p)
 
 
     bzero((char *) timestamp, TIMEBUF_SIZE);
-    ts_print((struct timeval *) & p->pkth->ts, timestamp);
+    ts_print((struct timeval32 *) & p->pkth->ts, timestamp);
 
     /* dump the timestamp */
     fwrite(timestamp, strlen(timestamp), 1, fp);
