Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/acorn32/podulebus Adopt <net/if_stats.h>



details:   https://anonhg.NetBSD.org/src/rev/d1fc87e1adba
branches:  trunk
changeset: 744531:d1fc87e1adba
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Feb 05 08:22:23 2020 +0000

description:
Adopt <net/if_stats.h>

diffstat:

 sys/arch/acorn32/podulebus/if_ie.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b16086d9ae88 -r d1fc87e1adba sys/arch/acorn32/podulebus/if_ie.c
--- a/sys/arch/acorn32/podulebus/if_ie.c        Wed Feb 05 08:14:36 2020 +0000
+++ b/sys/arch/acorn32/podulebus/if_ie.c        Wed Feb 05 08:22:23 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ie.c,v 1.46 2020/02/04 07:40:34 skrll Exp $ */
+/* $NetBSD: if_ie.c,v 1.47 2020/02/05 08:22:23 skrll Exp $ */
 
 /*
  * Copyright (c) 1995 Melvin Tang-Richardson.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.46 2020/02/04 07:40:34 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.47 2020/02/05 08:22:23 skrll Exp $");
 
 #define IGNORE_ETHER1_IDROM_CHECKSUM
 
@@ -679,7 +679,7 @@
        struct ie_softc *sc = ifp->if_softc;
 
        log(LOG_ERR, "%s: device timeout\n", device_xname(sc->sc_dev));
-       ++ifp->if_oerrors;
+       if_statinc(ifp, if_oerrors);
        iereset(sc);
 }
 



Home | Main Index | Thread Index | Old Index