From b9ab1e966ed95017bd6fc45acd04e09ec0c128ed Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Wed, 21 Apr 2021 17:11:13 +0100 Subject: [PATCH] Fix time usage on non-subtick-resolution platforms --- src/src/exim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/src/exim.c b/src/src/exim.c index 8526cbbf3..a3983f88d 100644 --- a/src/src/exim.c +++ b/src/src/exim.c @@ -496,7 +496,7 @@ while (exim_tvcmp(&now_tv, tgt_tv) <= 0) /* Be prapared to go around if the kernel does not implement subtick granularity (GNU Hurd) */ - (void)gettimeofday(&now_tv, NULL); + exim_gettime(&now_tv); now_true_usec = now_tv.tv_usec; now_tv.tv_usec = (now_true_usec/resolution) * resolution; } -- 2.30.2