diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-10-02 18:04:37 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-10-02 18:04:37 +0000 |
commit | c5a98b311d858f77f78048b9649676337197119d (patch) | |
tree | ab49cd3acaddfd0b0ea77cdd2de244891ed6d85a /usr.sbin/tcpdump/util.c | |
parent | 1f207317b455e04a0ecef5dfe43a2bdca8f99c1f (diff) |
change timeval to bpf_timeval; 32 bit in size, permitting much greater portability
Diffstat (limited to 'usr.sbin/tcpdump/util.c')
-rw-r--r-- | usr.sbin/tcpdump/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/util.c b/usr.sbin/tcpdump/util.c index 894254eedbc..bdb4deef5ad 100644 --- a/usr.sbin/tcpdump/util.c +++ b/usr.sbin/tcpdump/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.12 2001/09/03 13:25:53 jakob Exp $ */ +/* $OpenBSD: util.c,v 1.13 2001/10/02 18:04:36 deraadt Exp $ */ /* * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997 @@ -23,7 +23,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/util.c,v 1.12 2001/09/03 13:25:53 jakob Exp $ (LBL)"; + "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/util.c,v 1.13 2001/10/02 18:04:36 deraadt Exp $ (LBL)"; #endif #include <sys/types.h> @@ -121,7 +121,7 @@ fn_printn(register const u_char *s, register u_int n, * Print the timestamp */ void -ts_print(register const struct timeval *tvp) +ts_print(register const struct bpf_timeval *tvp) { register int s; #define TSBUFLEN 32 |