summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcrelay/errwarn.c
diff options
context:
space:
mode:
authorstevesk <stevesk@openbsd.org>2006-12-18 01:08:58 +0000
committerstevesk <stevesk@openbsd.org>2006-12-18 01:08:58 +0000
commit32f01720c6d9edb524fecccb7e7edec4d311ef40 (patch)
treed29dd458a84025e45838fdf30ecf3e74ac45b078 /usr.sbin/dhcrelay/errwarn.c
parentforce wd at pciide down to PIO mode 4 (yuck) until some DMA issues are (diff)
downloadwireguard-openbsd-32f01720c6d9edb524fecccb7e7edec4d311ef40.tar.xz
wireguard-openbsd-32f01720c6d9edb524fecccb7e7edec4d311ef40.zip
warn() -> warning() to not overload with libc function; this has
previously been done to dhclient and dhcpd
Diffstat (limited to 'usr.sbin/dhcrelay/errwarn.c')
-rw-r--r--usr.sbin/dhcrelay/errwarn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcrelay/errwarn.c b/usr.sbin/dhcrelay/errwarn.c
index 97b146d2cb5..f59340a616b 100644
--- a/usr.sbin/dhcrelay/errwarn.c
+++ b/usr.sbin/dhcrelay/errwarn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: errwarn.c,v 1.4 2005/04/19 16:13:44 moritz Exp $ */
+/* $OpenBSD: errwarn.c,v 1.5 2006/12/18 01:08:58 stevesk Exp $ */
/* Errors and warnings... */
@@ -85,7 +85,7 @@ error(char *fmt, ...)
* Log a warning message...
*/
int
-warn(char *fmt, ...)
+warning(char *fmt, ...)
{
va_list list;