From 3cb24c2ca341942e12d75d5e3b0d91a920a2b5c9 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 21 Apr 2013 19:11:20 +1000 Subject: [PATCH] Use cgtime in driver-ztex.c --- driver-ztex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driver-ztex.c b/driver-ztex.c index 210060cf..3898589f 100644 --- a/driver-ztex.c +++ b/driver-ztex.c @@ -27,6 +27,7 @@ #include #include #include "libztex.h" +#include "util.h" #define GOLDEN_BACKLOG 5 @@ -375,7 +376,7 @@ static bool ztex_prepare(struct thr_info *thr) struct cgpu_info *cgpu = thr->cgpu; struct libztex_device *ztex = cgpu->device_ztex; - gettimeofday(&now, NULL); + cgtime(&now); get_datestamp(cgpu->init, &now); ztex_selectFpga(ztex);