diff options
Diffstat (limited to 'syslogd')
-rw-r--r-- | syslogd/logfile.c | 3 | ||||
-rw-r--r-- | syslogd/main.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/syslogd/logfile.c b/syslogd/logfile.c index 606db8e..6479bb5 100644 --- a/syslogd/logfile.c +++ b/syslogd/logfile.c @@ -25,10 +25,11 @@ #include <errno.h> #include "backend.h" +#include "config.h" #include "util.h" -#define SYSLOG_PATH "/var/log" +#define SYSLOG_PATH PREFIXPATH "/var/log" static const enum_map_t levels[] = { diff --git a/syslogd/main.c b/syslogd/main.c index 7a466d6..e89b287 100644 --- a/syslogd/main.c +++ b/syslogd/main.c @@ -31,7 +31,7 @@ #include "util.h" -#define SYSLOG_SOCKET "/dev/log" +#define SYSLOG_SOCKET PREFIXPATH "/dev/log" #define GPL_URL "https://gnu.org/licenses/gpl.html" |