This commit is contained in:
Jay D Dee
2018-02-07 16:38:45 -05:00
parent 54b8fd7362
commit a28daca3ce
83 changed files with 5153 additions and 3924 deletions

View File

@@ -3238,10 +3238,10 @@ int main(int argc, char *argv[])
}
}
//#ifdef HAVE_SYSLOG_H
// if (use_syslog)
// openlog("cpuminer", LOG_PID, LOG_USER);
//#endif
#ifdef HAVE_SYSLOG_H
if (use_syslog)
openlog("cpuminer", LOG_PID, LOG_USER);
#endif
work_restart = (struct work_restart*) calloc(opt_n_threads, sizeof(*work_restart));
if (!work_restart)