Refer to the correct file/function in panic messages.

Reported by:	Hans Petter Selasky <hselasky at c2i dot net>
Approved by:	re (ifnet blanket)
This commit is contained in:
brooks 2005-06-17 17:14:57 +00:00
parent e3125bb41a
commit c6370090a6

View File

@ -204,7 +204,7 @@ i4biprattach(void *dummy)
sc->sc_ifp = if_alloc(IFT_ISDNBASIC);
if (sc->sc_ifp == NULL)
panic("if_ipr.c, ipr_attach: cannot if_alloc()");
panic("i4b_ipr.c, i4biprattach: cannot if_alloc()");
sc->sc_ifp->if_softc = sc;
sc->sc_state = ST_IDLE;
@ -262,7 +262,7 @@ i4biprattach(void *dummy)
if(!((sc->sc_cbuf =
(u_char *)malloc(I4BIPRMAXMTU+128, M_DEVBUF, M_WAITOK))))
{
panic("if_ipr.c, ipr_attach: VJ malloc failed");
panic("i4b_ipr.c, i4biprattach: VJ malloc failed");
}
#endif
#endif