IOVEC_SET_STRING(iovec[3], header_pid);
IOVEC_SET_STRING(iovec[4], p);
- /* When using syslog via SOCK_STREAM seperate the messages by NUL chars */
+ /* When using syslog via SOCK_STREAM separate the messages by NUL chars */
if (s->server->syslog_is_stream)
iovec[4].iov_len++;
return 0;
log_warning("Failed to read from stream: %m");
- return -1;
+ return -errno;
}