Clarify comment, _PATH_LOG applies to *sysklogd project*

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-05 08:57:15 +01:00
parent 2fcfc0ad81
commit a4b09cc15b

View File

@ -38,11 +38,11 @@
#include <stdarg.h> #include <stdarg.h>
/* /*
* Default on *BSD is /var/run/log, but on Linux systems with * Default on *BSD is /var/run/log, but on Linux systems with systemd
* systemd/journald this is reserved and may already exist as * (journald) this is reserved and may already exist as a directory.
* a directory. For compatibility with GLIBC syslog API, for * For compatibility with GLIBC syslog API, for those who opt not to
* those who opt not to use this replacement API, we use the * use this replacement API, we use the default/traditional Linux path
* default/traditional Linux path /dev/log. * /dev/log in the sysklogd project.
*/ */
#ifndef __linux__ #ifndef __linux__
#define _PATH_LOG "/var/run/log" #define _PATH_LOG "/var/run/log"