log: pull in log.{c,h} from foot

This commit is contained in:
Daniel Eklöf 2021-08-15 11:41:12 +02:00
parent 58a52512dd
commit 7d3851046e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 197 additions and 118 deletions

View file

@ -495,7 +495,7 @@ execute_script(struct module *mod)
}
if (r > 0) {
LOG_ERRNO_P("%s: failed to start", _errno, m->path);
LOG_ERRNO_P(_errno, "%s: failed to start", m->path);
close(comm_pipe[0]);
waitpid(pid, NULL, 0);
return -1;