mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
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:
parent
c1204267ca
commit
81b6f2cf42
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147469
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user