summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 8b8c626..8c019c6 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -711,8 +711,8 @@ if_attachdomain1(struct ifnet *ifp)
return;
if (ifp->if_afdata_initialized >= domain_init_status) {
IF_AFDATA_UNLOCK(ifp);
- printf("if_attachdomain called more than once on %s\n",
- ifp->if_xname);
+ log(LOG_WARNING, "if_attachdomain called more than once "
+ "on %s\n", ifp->if_xname);
return;
}
ifp->if_afdata_initialized = domain_init_status;
OpenPOWER on IntegriCloud