summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/hme.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2000-11-28 23:14:06 +0000
committerJason Wright <jason@cvs.openbsd.org>2000-11-28 23:14:06 +0000
commit56e99bcaba3103598225ab4ce0443614107626fd (patch)
tree0c3f0064a87edcdd95a4fc10aab2aee44b7912a8 /sys/arch/sparc/dev/hme.c
parentda537cbcb5872308162d0531f05e82af870ddcc7 (diff)
How did this work?
Diffstat (limited to 'sys/arch/sparc/dev/hme.c')
-rw-r--r--sys/arch/sparc/dev/hme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/hme.c b/sys/arch/sparc/dev/hme.c
index 9d7cd80967f..0813c02f409 100644
--- a/sys/arch/sparc/dev/hme.c
+++ b/sys/arch/sparc/dev/hme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hme.c,v 1.26 2000/11/28 05:12:18 jason Exp $ */
+/* $OpenBSD: hme.c,v 1.27 2000/11/28 23:14:05 jason Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -1168,7 +1168,7 @@ void
hme_mii_statchg(self)
struct device *self;
{
- struct hme_softc *sc = (struct hme_softc *)sc;
+ struct hme_softc *sc = (struct hme_softc *)self;
struct hme_cr *cr = sc->sc_cr;
if (sc->sc_mii.mii_media_active & IFM_FDX)