Fix Linux build.

This commit is contained in:
XMRig 2018-03-31 16:52:58 +07:00
parent aac7b0404a
commit 7f5d7cf7dd
3 changed files with 7 additions and 6 deletions

View file

@ -109,7 +109,7 @@ int xmrig::Controller::init(int argc, char **argv)
}
# ifdef HAVE_SYSLOG_H
if (config()->syslog()) {
if (config()->isSyslog()) {
Log::add(new SysLog());
}
# endif