summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2005-06-12 16:21:44 +0000
committerBrooks Davis <brooks@FreeBSD.org>2005-06-12 16:21:44 +0000
commit2ac7ea9addc193b4e4cfdebaa102222c1fa56cab (patch)
treeaf4f900f4194718cedcacc9ffc9ad5d8b83db358
parent25bd46d0e7ff16a768d2ca323c6c488a746b2fd9 (diff)
Notes
-rw-r--r--sys/dev/snc/if_snc_pccard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/snc/if_snc_pccard.c b/sys/dev/snc/if_snc_pccard.c
index d48cf30e164b5..a8150803b7cf1 100644
--- a/sys/dev/snc/if_snc_pccard.c
+++ b/sys/dev/snc/if_snc_pccard.c
@@ -88,7 +88,7 @@ static int
snc_pccard_detach(device_t dev)
{
struct snc_softc *sc = device_get_softc(dev);
- struct ifnet *ifp = &sc->sc_if;
+ struct ifnet *ifp = sc->sc_ifp;
if (sc->gone) {
device_printf(dev, "already unloaded\n");