From a0d918e1e9b4c6103a17651082f6677c188d6235 Mon Sep 17 00:00:00 2001 From: wpaul Date: Tue, 15 May 2001 22:19:50 +0000 Subject: [PATCH] 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. --- sys/dev/nge/if_nge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c index 5f292b7e933d..49c49d454b0c 100644 --- a/sys/dev/nge/if_nge.c +++ b/sys/dev/nge/if_nge.c @@ -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;