From 65146fd9089ee7c33014d2d223e6ddcb77713dfe Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 30 Jan 2020 06:25:46 +0000 Subject: [PATCH] Fix typo --- sys/arch/mac68k/dev/if_mc.c | 6 +++--- sys/arch/powerpc/booke/dev/pq3etsec.c | 6 +++--- sys/arch/sgimips/hpc/if_sq.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/arch/mac68k/dev/if_mc.c b/sys/arch/mac68k/dev/if_mc.c index 9765072a926b..ce86bf807c30 100644 --- a/sys/arch/mac68k/dev/if_mc.c +++ b/sys/arch/mac68k/dev/if_mc.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_mc.c,v 1.53 2020/01/29 05:25:41 thorpej Exp $ */ +/* $NetBSD: if_mc.c,v 1.54 2020/01/30 06:28:46 martin Exp $ */ /*- * Copyright (c) 1997 David Huang @@ -35,7 +35,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_mc.c,v 1.53 2020/01/29 05:25:41 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_mc.c,v 1.54 2020/01/30 06:28:46 martin Exp $"); #include "opt_ddb.h" #include "opt_inet.h" @@ -491,7 +491,7 @@ mc_tint(struct mc_softc *sc) if (xmtfs & MORE) /* Real number is unknown. */ - if_statadd_ref(nsr, if_collsions, 2); + if_statadd_ref(nsr, if_collisons, 2); else if (xmtfs & ONE) if_statinc_ref(nsr, if_collisions); else if (xmtfs & RTRY) { diff --git a/sys/arch/powerpc/booke/dev/pq3etsec.c b/sys/arch/powerpc/booke/dev/pq3etsec.c index 851e6b3c8420..97e7dbcaa0a7 100644 --- a/sys/arch/powerpc/booke/dev/pq3etsec.c +++ b/sys/arch/powerpc/booke/dev/pq3etsec.c @@ -1,4 +1,4 @@ -/* $NetBSD: pq3etsec.c,v 1.48 2020/01/29 05:35:28 thorpej Exp $ */ +/* $NetBSD: pq3etsec.c,v 1.49 2020/01/30 06:27:13 martin Exp $ */ /*- * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc. * All rights reserved. @@ -41,7 +41,7 @@ #include -__KERNEL_RCSID(0, "$NetBSD: pq3etsec.c,v 1.48 2020/01/29 05:35:28 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pq3etsec.c,v 1.49 2020/01/30 06:27:13 martin Exp $"); #include #include @@ -2226,7 +2226,7 @@ pq3etsec_txq_consume( if (m->m_flags & M_HASFCB) m_adj(m, sizeof(struct txfcb)); bpf_mtap(ifp, m, BPF_D_OUT); - net_stats_ref_t nsr = IF_STAT_GETREF(ifp); + net_stat_ref_t nsr = IF_STAT_GETREF(ifp); if_statinc_ref(nsr, if_opackets); if_statadd_ref(nsr, if_obytes, m->m_pkthdr.len); if (m->m_flags & M_MCAST) diff --git a/sys/arch/sgimips/hpc/if_sq.c b/sys/arch/sgimips/hpc/if_sq.c index b6399ddcae5f..8c8b542354fa 100644 --- a/sys/arch/sgimips/hpc/if_sq.c +++ b/sys/arch/sgimips/hpc/if_sq.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_sq.c,v 1.53 2020/01/29 05:37:08 thorpej Exp $ */ +/* $NetBSD: if_sq.c,v 1.54 2020/01/30 06:25:46 martin Exp $ */ /* * Copyright (c) 2001 Rafal K. Boni @@ -33,7 +33,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_sq.c,v 1.53 2020/01/29 05:37:08 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_sq.c,v 1.54 2020/01/30 06:25:46 martin Exp $"); #include @@ -1074,7 +1074,7 @@ sq_txintr(struct sq_softc *sc) SQ_TRACE(SQ_TXINTR_ENTER, sc, sc->sc_prevtx, status); - net_stats_ref_t nsr = IF_STAT_GETREF(ifp); + net_stat_ref_t nsr = IF_STAT_GETREF(ifp); tmp = (sc->hpc_regs->enetx_ctl_active >> shift) | TXSTAT_GOOD; if ((status & tmp) == 0) { if (status & TXSTAT_COLL)