Browse Source

fix the work_i3 init

Xiangfu 13 years ago
parent
commit
abe699cd9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-avalon.c

+ 1 - 1
driver-avalon.c

@@ -790,7 +790,7 @@ static int64_t avalon_scanhash(struct thr_info *thr, struct work **work,
 
 	hash_count = 0;
 	while (true) {
-		work_i0 = work_i1 = work_i2 = -1;
+		work_i0 = work_i1 = work_i2 = work_i3 = -1;
 
 		full = avalon_buffer_full(fd);
 		applog(LOG_DEBUG, "Avalon: Buffer full: %s",