summaryrefslogtreecommitdiffstats
path: root/bpf.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-05 18:24:34 +0000
committerRoy Marples <roy@marples.name>2008-09-05 18:24:34 +0000
commit765fbf7db0669762f6fe4f829f37c6b10de77fe4 (patch)
tree56290e5630958b75f89dea657836284eaeb25ec5 /bpf.c
parentf25f3fb214d3106bb12fdaa0b67eeabd3dadbb0a (diff)
downloaddhcpcd-765fbf7db0669762f6fe4f829f37c6b10de77fe4.tar.xz
Remove logger and exclusively uses syslog instead. This saves almost 2K on NetBSD/amd64 from before changing strerror to %m.
Diffstat (limited to 'bpf.c')
-rw-r--r--bpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpf.c b/bpf.c
index 96e53a16..948a72ca 100644
--- a/bpf.c
+++ b/bpf.c
@@ -39,12 +39,12 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <syslog.h>
#include <unistd.h>
#include "config.h"
#include "common.h"
#include "dhcp.h"
-#include "logger.h"
#include "net.h"
#include "bpf-filter.h"
@@ -81,7 +81,7 @@ open_socket(struct interface *iface, int protocol)
goto eexit;
if (pv.bv_major != BPF_MAJOR_VERSION ||
pv.bv_minor < BPF_MINOR_VERSION) {
- logger(LOG_ERR, "BPF version mismatch - recompile " PACKAGE);
+ syslog(LOG_ERR, "BPF version mismatch - recompile");
goto eexit;
}