mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 21:14:18 +00:00
Use correct name in syslog.
This commit is contained in:
parent
5f667e7eab
commit
43faa11358
2
main.c
2
main.c
@ -3876,7 +3876,7 @@ int main (int argc, char *argv[])
|
|||||||
|
|
||||||
#ifdef HAVE_SYSLOG_H
|
#ifdef HAVE_SYSLOG_H
|
||||||
if (use_syslog)
|
if (use_syslog)
|
||||||
openlog("cpuminer", LOG_PID, LOG_USER);
|
openlog(PROGRAM_NAME, LOG_PID, LOG_USER);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mining_threads = opt_n_threads + gpu_threads;
|
mining_threads = opt_n_threads + gpu_threads;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user