Fix Linux build.
This commit is contained in:
parent
ced25c3fa0
commit
17e9e036f1
4 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue