1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 13:04:29 +00:00

Use correct name in syslog.

This commit is contained in:
Con Kolivas 2011-07-30 13:37:34 +10:00
parent 5f667e7eab
commit 43faa11358

2
main.c
View File

@ -3876,7 +3876,7 @@ int main (int argc, char *argv[])
#ifdef HAVE_SYSLOG_H
if (use_syslog)
openlog("cpuminer", LOG_PID, LOG_USER);
openlog(PROGRAM_NAME, LOG_PID, LOG_USER);
#endif
mining_threads = opt_n_threads + gpu_threads;