summaryrefslogtreecommitdiffstats
path: root/kerberosIV/usr.bin
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2002-09-24 17:35:08 +0000
committerbrooks <brooks@FreeBSD.org>2002-09-24 17:35:08 +0000
commitd039f38d0d117aa7a539cbc6c6b1fb592050eb12 (patch)
tree6bb2592d60be2179dc1f63ed27c053dfced72616 /kerberosIV/usr.bin
parentd73b1f9b7b8eb6c020851d65c60869d788e84828 (diff)
downloadFreeBSD-src-d039f38d0d117aa7a539cbc6c6b1fb592050eb12.zip
FreeBSD-src-d039f38d0d117aa7a539cbc6c6b1fb592050eb12.tar.gz
Add a new helper function if_printf() modeled on device_printf(). The
function takes a struct ifnet pointer followed by the usual printf arguments and prints "<interfacename>: " before the results of printf. Since this is the primary form of printf calls in network device drivers and accounts for most uses of the ifnet menber if_unit, this significantly simplifies many printf()s.
Diffstat (limited to 'kerberosIV/usr.bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud