fixes for openbsd

This commit is contained in:
Wolfgang Hottgenroth
2021-02-10 18:23:18 +01:00
parent 27551a0023
commit 778e288cb7
2 changed files with 6 additions and 5 deletions

View File

@ -7,7 +7,7 @@
void logmsg(int prio, const char* format, ...) {
va_list vl;
openlog("counter", 0, LOG_LOCAL0);
openlog("counter", 0, LOG_LOCAL1);
va_start(vl, format);
vsyslog(prio, format, vl);
//vprintf(format, vl);