|
@@ -2455,7 +2455,7 @@ static void restart_threads(void)
|
|
|
cgpu = devices[i];
|
|
cgpu = devices[i];
|
|
|
for (j = 0; j < cgpu->threads; ++j)
|
|
for (j = 0; j < cgpu->threads; ++j)
|
|
|
{
|
|
{
|
|
|
- thr = &cgpu->thread[j];
|
|
|
|
|
|
|
+ thr = cgpu->thr[j];
|
|
|
fd = thr->_work_restart_fd_w;
|
|
fd = thr->_work_restart_fd_w;
|
|
|
thr->work_restart = true;
|
|
thr->work_restart = true;
|
|
|
if (fd != -1)
|
|
if (fd != -1)
|