Browse Source

Merge commit '3cb24c2' into cg_merges_20130524b

Luke Dashjr 12 years ago
parent
commit
d77517b75e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      driver-ztex.c

+ 2 - 1
driver-ztex.c

@@ -33,6 +33,7 @@
 #include "dynclock.h"
 #include "fpgautils.h"
 #include "libztex.h"
+#include "util.h"
 
 #define GOLDEN_BACKLOG 5
 
@@ -357,7 +358,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);
 
 	if (cgpu->proc_id)