summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcpd/bpf.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-09-16 18:35:42 +0000
committerderaadt <deraadt@openbsd.org>2004-09-16 18:35:42 +0000
commit0795b38919d5e1a9797bb5628fbd00cbe8824b7d (patch)
treef73c46995a06a83b0a5501f0a8a7c9b62bdb339d /usr.sbin/dhcpd/bpf.c
parentftruncate() with ftello() instead of ftell(); ok millert (diff)
downloadwireguard-openbsd-0795b38919d5e1a9797bb5628fbd00cbe8824b7d.tar.xz
wireguard-openbsd-0795b38919d5e1a9797bb5628fbd00cbe8824b7d.zip
avoid aliasing with libc functions; ok henning
Diffstat (limited to 'usr.sbin/dhcpd/bpf.c')
-rw-r--r--usr.sbin/dhcpd/bpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcpd/bpf.c b/usr.sbin/dhcpd/bpf.c
index 0d13b116e81..ca0088f235c 100644
--- a/usr.sbin/dhcpd/bpf.c
+++ b/usr.sbin/dhcpd/bpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.c,v 1.4 2004/05/04 20:28:40 deraadt Exp $ */
+/* $OpenBSD: bpf.c,v 1.5 2004/09/16 18:35:42 deraadt Exp $ */
/* BPF socket interface code, originally contributed by Archie Cobbs. */
@@ -247,7 +247,7 @@ send_packet(struct interface_info *interface, struct dhcp_packet *raw,
result = writev(interface->wfdesc, iov, 2);
if (result < 0)
- warn("send_packet: %m");
+ warning("send_packet: %m");
return (result);
}