Use cgtime in driver-ztex.c
diff --git a/driver-ztex.c b/driver-ztex.c
index 210060c..3898589 100644
--- a/driver-ztex.c
+++ b/driver-ztex.c
@@ -27,6 +27,7 @@
#include <unistd.h>
#include <sha2.h>
#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);