mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-25 05:40:39 -05:00
Fix Linux build.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
#include <time.h>
|
||||
#include <uv.h>
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <string.h>
|
||||
#include <uv.h>
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user