Clarify comment, _PATH_LOG applies to *sysklogd project*
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
2fcfc0ad81
commit
a4b09cc15b
10
src/syslog.h
10
src/syslog.h
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user