From c7b0978381243f25a06464cdbf57bb55a1dbaa33 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 5 Jan 2015 13:51:22 -0700 Subject: [PATCH] server: use fio_gettime() for timeout variables Signed-off-by: Jens Axboe --- server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.c b/server.c index 3171979e..c2498497 100644 --- a/server.c +++ b/server.c @@ -333,7 +333,7 @@ static uint64_t alloc_reply(uint64_t tag, uint16_t opcode) reply = calloc(1, sizeof(*reply)); INIT_FLIST_HEAD(&reply->list); - gettimeofday(&reply->tv, NULL); + fio_gettime(&reply->tv, NULL); reply->saved_tag = tag; reply->opcode = opcode; -- 2.25.1