mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-13 06:31:51 +00:00
cgminer correct applog typing
This commit is contained in:
parent
2b2b34f500
commit
6cef9f423d
@ -3266,7 +3266,8 @@ static void *submit_work_thread(void *userdata)
|
|||||||
pool->rpc_user, work->job_id, work->nonce2, work->ntime, noncehex, sshare->id);
|
pool->rpc_user, work->job_id, work->nonce2, work->ntime, noncehex, sshare->id);
|
||||||
free(noncehex);
|
free(noncehex);
|
||||||
|
|
||||||
applog(LOG_INFO, "Submitting share %08lx to pool %d", htole32(hash32[6]), pool->pool_no);
|
applog(LOG_INFO, "Submitting share %08lx to pool %d",
|
||||||
|
(long unsigned int)htole32(hash32[6]), pool->pool_no);
|
||||||
|
|
||||||
/* Try resubmitting for up to 2 minutes if we fail to submit
|
/* Try resubmitting for up to 2 minutes if we fail to submit
|
||||||
* once and the stratum pool nonce1 still matches suggesting
|
* once and the stratum pool nonce1 still matches suggesting
|
||||||
@ -6460,7 +6461,7 @@ void print_summary(void)
|
|||||||
if (opt_shares > total_accepted)
|
if (opt_shares > total_accepted)
|
||||||
applog(LOG_WARNING, "WARNING - Mined only %d shares of %d requested.", total_accepted, opt_shares);
|
applog(LOG_WARNING, "WARNING - Mined only %d shares of %d requested.", total_accepted, opt_shares);
|
||||||
}
|
}
|
||||||
applog(LOG_WARNING, "");
|
applog(LOG_WARNING, " ");
|
||||||
|
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user