diff options
| author | Roy Marples <roy@marples.name> | 2008-09-05 18:24:34 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-09-05 18:24:34 +0000 |
| commit | 765fbf7db0669762f6fe4f829f37c6b10de77fe4 (patch) | |
| tree | 56290e5630958b75f89dea657836284eaeb25ec5 /net.c | |
| parent | f25f3fb214d3106bb12fdaa0b67eeabd3dadbb0a (diff) | |
| download | dhcpcd-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 'net.c')
| -rw-r--r-- | net.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -65,12 +65,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 "if-options.h" #include "net.h" #include "signals.h" @@ -238,7 +238,7 @@ init_interface(const char *ifname) if (!(options & DHCPCD_MASTER && !(options & DHCPCD_DAEMONISED) && options & DHCPCD_QUIET)) - logger(LOG_ERR, "%s: unsupported media family", iface->name); + syslog(LOG_ERR, "%s: unsupported media family", iface->name); goto eexit; } memcpy(iface->hwaddr, ifr.ifr_hwaddr.sa_data, iface->hwlen); |
