diff options
author | brooks <brooks@FreeBSD.org> | 2002-10-21 02:51:56 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2002-10-21 02:51:56 +0000 |
commit | 3eee68d184a79ab4f055e04fa5d389eba13fbd0a (patch) | |
tree | c640d6de602e1b3ca2b56498d05703c11e679daa /sys/netgraph | |
parent | dc5a3ce3a5ca604d278d6fb060f3d0da482c99c7 (diff) | |
download | FreeBSD-src-3eee68d184a79ab4f055e04fa5d389eba13fbd0a.zip FreeBSD-src-3eee68d184a79ab4f055e04fa5d389eba13fbd0a.tar.gz |
Use if_printf(ifp, "blah") instead of
printf("%s%d: blah", ifp->if_name, ifp->if_xname).
Diffstat (limited to 'sys/netgraph')
-rw-r--r-- | sys/netgraph/ng_iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_iface.c b/sys/netgraph/ng_iface.c index bf29dca..5deac9e 100644 --- a/sys/netgraph/ng_iface.c +++ b/sys/netgraph/ng_iface.c @@ -471,7 +471,7 @@ ng_iface_output(struct ifnet *ifp, struct mbuf *m, static void ng_iface_start(struct ifnet *ifp) { - printf("%s%d: %s called?", ifp->if_name, ifp->if_unit, __func__); + if_printf(ifp, "%s called?", __func__); } /* |