summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtrace
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-11-26 01:17:12 +0000
committermillert <millert@openbsd.org>2003-11-26 01:17:12 +0000
commit40443a2f670b625c2ac672c76675fc405c6f822f (patch)
tree8df2c2f876f01abd08b74dd06cf7aade310d4fa5 /usr.sbin/mtrace
parentThis is ISO C, use string concatenation, instead of bogus use of __CONCAT. (diff)
downloadwireguard-openbsd-40443a2f670b625c2ac672c76675fc405c6f822f.tar.xz
wireguard-openbsd-40443a2f670b625c2ac672c76675fc405c6f822f.zip
Replace log() with logit() since ISO C reserves log() for the math
library and gcc 3.x will complain. Replacement name taken from NetBSD. espie@ OK.
Diffstat (limited to 'usr.sbin/mtrace')
-rw-r--r--usr.sbin/mtrace/mtrace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/mtrace/mtrace.c b/usr.sbin/mtrace/mtrace.c
index f5f0dbfc6ed..57264be50af 100644
--- a/usr.sbin/mtrace/mtrace.c
+++ b/usr.sbin/mtrace/mtrace.c
@@ -52,7 +52,7 @@
#ifndef lint
static char rcsid[] =
- "@(#) $Id: mtrace.c,v 1.20 2003/09/23 09:19:18 matthieu Exp $";
+ "@(#) $Id: mtrace.c,v 1.21 2003/11/26 01:17:12 millert Exp $";
#endif
#include <netdb.h>
@@ -1660,7 +1660,7 @@ or multicast at ttl %d doesn't reach its last-hop router for that source\n",
void
check_vif_state()
{
- log(LOG_WARNING, errno, "sendto");
+ logit(LOG_WARNING, errno, "sendto");
}
/*
@@ -1669,7 +1669,7 @@ check_vif_state()
* LOG_ERR or worse, terminate the program.
*/
void
-log(int severity, int syserr, char *format, ...)
+logit(int severity, int syserr, char *format, ...)
{
va_list ap;