summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2013-05-14 14:59:34 +0000
committermpi <mpi@openbsd.org>2013-05-14 14:59:34 +0000
commit5e1217ffa62fc3263be355c38c736e10f4c6257f (patch)
tree3deae07599d1c7e65842ef5e55795ca1490ad7f4
parentFix build with ENCDEBUG defined. (diff)
downloadwireguard-openbsd-5e1217ffa62fc3263be355c38c736e10f4c6257f.tar.xz
wireguard-openbsd-5e1217ffa62fc3263be355c38c736e10f4c6257f.zip
Fix build with MRT6DEBUG defined.
-rw-r--r--sys/netinet6/ip6_mroute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c
index 446e4ba3ed9..f386278cc03 100644
--- a/sys/netinet6/ip6_mroute.c
+++ b/sys/netinet6/ip6_mroute.c
@@ -642,9 +642,9 @@ add_m6if(struct mif6ctl *mifcp)
#ifdef MRT6DEBUG
if (mrt6debug)
log(LOG_DEBUG,
- "add_mif #%d, phyint %s%d\n",
+ "add_mif #%d, phyint %s\n",
mifcp->mif6c_mifi,
- ifp->if_name, ifp->if_unit);
+ ifp->if_xname);
#endif
return 0;