Fix instance of (struct ti_softc *) that should have been

(struct nge_softc *), which the compiler never complained about.
I guess it doesn't matter, a pointer is a pointer, but looked weird
to me.
This commit is contained in:
wpaul 2001-05-15 22:19:50 +00:00
parent 66829999eb
commit a0d918e1e9

View File

@ -1088,7 +1088,7 @@ static int nge_newbuf(sc, c, m)
m_new->m_data = (void *)buf;
m_new->m_len = m_new->m_pkthdr.len = NGE_MCLBYTES;
MEXTADD(m_new, buf, NGE_MCLBYTES, nge_jfree,
(struct ti_softc *)sc, 0, EXT_NET_DRV);
(struct nge_softc *)sc, 0, EXT_NET_DRV);
} else {
m_new = m;
m_new->m_len = m_new->m_pkthdr.len = NGE_MCLBYTES;