diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-16 18:35:44 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-16 18:35:44 +0000 |
commit | e079edd2e9335fd24f8f6b8a69a82f9abdcf8332 (patch) | |
tree | b94b092ed2307c805328cd2bf70b3c136f0ad696 /usr.sbin/dhcpd/icmp.c | |
parent | a91fce241ec0acb77eeb44fdb6a2c82f6498e116 (diff) |
avoid aliasing with libc functions; ok henning
Diffstat (limited to 'usr.sbin/dhcpd/icmp.c')
-rw-r--r-- | usr.sbin/dhcpd/icmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/dhcpd/icmp.c b/usr.sbin/dhcpd/icmp.c index ba39edc5bea..6df90da95f4 100644 --- a/usr.sbin/dhcpd/icmp.c +++ b/usr.sbin/dhcpd/icmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: icmp.c,v 1.8 2004/04/22 15:22:48 henning Exp $ */ +/* $OpenBSD: icmp.c,v 1.9 2004/09/16 18:35:43 deraadt Exp $ */ /* * Copyright (c) 1997, 1998 The Internet Software Consortium. @@ -104,7 +104,7 @@ icmp_echorequest(struct iaddr *addr) status = sendto(icmp_protocol_fd, &icmp, sizeof(icmp), 0, (struct sockaddr *)&to, sizeof(to)); if (status < 0) - warn("icmp_echorequest %s: %m", inet_ntoa(to.sin_addr)); + warning("icmp_echorequest %s: %m", inet_ntoa(to.sin_addr)); if (status != sizeof icmp) return 0; @@ -126,7 +126,7 @@ icmp_echoreply(struct protocol *protocol) status = recvfrom(protocol->fd, icbuf, sizeof(icbuf), 0, (struct sockaddr *)&from, &salen); if (status < 0) { - warn("icmp_echoreply: %m"); + warning("icmp_echoreply: %m"); return; } |