syslogd: minor, improve flog() internal logging a bit

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg 2021-06-27 19:53:01 +02:00
parent eed3335caa
commit 75524d1878

View File

@ -2027,7 +2027,7 @@ void flog(int pri, char *fmt, ...)
(void)vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
logit("%s\n", buf);
logit("flog<%d>: %s\n", pri, buf);
(void)snprintf(proc_id, sizeof(proc_id), "%d", getpid());
memset(&buffer, 0, sizeof(buffer));