From 9cf3a8f1d20d761d98401bf2baf702451037eab9 Mon Sep 17 00:00:00 2001 From: brooks Date: Mon, 21 Oct 2002 03:35:25 +0000 Subject: Use if_printf(ifp, "blah") instead of printf("sl%d: blah", sc->sc_if.if_unit). --- sys/net/if_sl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/net/if_sl.c') diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index 7502d7e..2a350f6 100644 --- a/sys/net/if_sl.c +++ b/sys/net/if_sl.c @@ -554,8 +554,7 @@ sloutput(ifp, m, dst, rtp) * the line protocol to support other address families. */ if (dst->sa_family != AF_INET) { - printf("sl%d: af%d not supported\n", sc->sc_if.if_unit, - dst->sa_family); + if_printf(ifp, "af%d not supported\n", dst->sa_family); m_freem(m); sc->sc_if.if_noproto++; return (EAFNOSUPPORT); -- cgit v1.1