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:
Alex Samorukov 2021-01-04 01:11:57 +01:00 committed by Denys Vlasenko
parent dae90bbcc2
commit 92d84c4014

View File

@ -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"