Commit c01c8249d31a486a9ec8f58123be8096c52860fa

Kano 2012-03-24T09:55:22

Fix bitforce compile error

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/bitforce.c b/bitforce.c
index 18efb0d..9ead04b 100644
--- a/bitforce.c
+++ b/bitforce.c
@@ -307,7 +307,7 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6
 				bitforce->deven = DEV_RECOVER;
 
 				bitforce->device_last_not_well = time(NULL);
-				bitforce->device_not_well_reason = REASON_THERMAL_CUTOFF;
+				bitforce->device_not_well_reason = REASON_DEV_THERMAL_CUTOFF;
 				bitforce->dev_thermal_cutoff_count++;
 			}
 		}