summaryrefslogtreecommitdiff
path: root/sbin/dhclient/bpf.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-05-04 22:23:02 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-05-04 22:23:02 +0000
commit710c64d18789eb25fed232f87c40158bfcba7ad3 (patch)
tree34e7475a305623fa6743ed9ec5dd367dddc4eeee /sbin/dhclient/bpf.c
parent5ec5305e22fc4dfccfa05a507821188925c211f7 (diff)
do not overload libc function names causing linker troubles
Diffstat (limited to 'sbin/dhclient/bpf.c')
-rw-r--r--sbin/dhclient/bpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/bpf.c b/sbin/dhclient/bpf.c
index b906849e3da..886e988ce4e 100644
--- a/sbin/dhclient/bpf.c
+++ b/sbin/dhclient/bpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.c,v 1.11 2004/05/04 18:58:50 deraadt Exp $ */
+/* $OpenBSD: bpf.c,v 1.12 2004/05/04 22:23:01 mickey Exp $ */
/* BPF socket interface code, originally contributed by Archie Cobbs. */
@@ -203,7 +203,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);
}