mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-09 12:11:02 +00:00
Do not add blank lines when there are less cpu threads enabled than processors.
This commit is contained in:
parent
78c89dc7ba
commit
9d36ee9b40
8
main.c
8
main.c
@ -5829,7 +5829,13 @@ int main (int argc, char *argv[])
|
||||
logcursor = 8;
|
||||
gpucursor = logcursor;
|
||||
cpucursor = gpucursor + nDevs;
|
||||
logstart = cpucursor + (opt_n_threads ? num_processors : 0) + 1;
|
||||
logstart = cpucursor + 1;
|
||||
if (opt_n_threads) {
|
||||
if (opt_n_threads < num_processors)
|
||||
logstart += opt_n_threads;
|
||||
else
|
||||
logstart += num_processors;
|
||||
}
|
||||
logcursor = logstart + 1;
|
||||
|
||||
if (opt_realquiet)
|
||||
|
Loading…
x
Reference in New Issue
Block a user