summaryrefslogtreecommitdiff
path: root/usr.bin/dig/host.c
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2020-02-16 18:05:10 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2020-02-16 18:05:10 +0000
commit4a3a2456e2bdd8f52ca6e2276c3ccbabe989299e (patch)
tree9a94e194f382030cf04b0b69d2866be1b464fc7c /usr.bin/dig/host.c
parent006561af38e6a04ad65722cb7dd907888b6d70c1 (diff)
Replace isc_time_t and interval_t with struct timespec.
Input & OK millert
Diffstat (limited to 'usr.bin/dig/host.c')
-rw-r--r--usr.bin/dig/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/dig/host.c b/usr.bin/dig/host.c
index eeb91a5fc8b..dc66fbea3b3 100644
--- a/usr.bin/dig/host.c
+++ b/usr.bin/dig/host.c
@@ -143,7 +143,7 @@ host_shutdown(void) {
static void
received(unsigned int bytes, isc_sockaddr_t *from, dig_query_t *query) {
- isc_time_t now;
+ struct timespec now;
int diff;
if (!short_form) {