Fix Linux build.

This commit is contained in:
XMRig
2018-03-31 16:52:58 +07:00
parent 33600bd923
commit 5e745f20a7
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