From dedd4cceab4944d8e30c428d34a07e96d201a915 Mon Sep 17 00:00:00 2001 From: thorpej Date: Thu, 9 May 1996 21:15:47 +0000 Subject: [PATCH] Fix typo, noticed by Curt Sampson . --- sys/arch/sun3/dev/if_ie.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/sun3/dev/if_ie.c b/sys/arch/sun3/dev/if_ie.c index 91bcf51c328b..2ab99bc4a20d 100644 --- a/sys/arch/sun3/dev/if_ie.c +++ b/sys/arch/sun3/dev/if_ie.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ie.c,v 1.11 1996/05/07 01:35:48 thorpej Exp $ */ +/* $NetBSD: if_ie.c,v 1.12 1996/05/09 21:15:47 thorpej Exp $ */ /*- * Copyright (c) 1993, 1994, 1995 Charles Hannum. @@ -322,7 +322,7 @@ void iewatchdog(ifp) struct ifnet *ifp; { - struct ie_softc *sc = ifp->if_unit; + struct ie_softc *sc = ifp->if_softc; log(LOG_ERR, "%s: device timeout\n", sc->sc_dev.dv_xname); ++sc->sc_arpcom.ac_if.if_oerrors;