Fix Linux build.

This commit is contained in:
XMRig 2019-03-26 22:05:56 +07:00
parent ced25c3fa0
commit 17e9e036f1
4 changed files with 4 additions and 2 deletions

View file

@ -49,5 +49,5 @@ void xmrig::SysLog::print(int level, const char *line, size_t offset, size_t, bo
return;
}
syslog(level == -1 ? LOG_INFO : level, line + offset);
syslog(level == -1 ? LOG_INFO : level, "%s", line + offset);
}