Fix klogd applet compilation on the FreeBSD
FreeBSD also using /dev/klog, see syslogd(8) Signed-off-by: Alex Samorukov <samm@os2.kiev.ua> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
dae90bbcc2
commit
92d84c4014
@ -100,7 +100,7 @@ static void klogd_close(void)
|
||||
#else
|
||||
|
||||
# ifndef _PATH_KLOG
|
||||
# ifdef __GNU__
|
||||
# if defined(__GNU__) || defined (__FreeBSD__)
|
||||
# define _PATH_KLOG "/dev/klog"
|
||||
# else
|
||||
# error "your system's _PATH_KLOG is unknown"
|
||||
|
Loading…
Reference in New Issue
Block a user