Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/emips/ebus Fix oversight
details: https://anonhg.NetBSD.org/src/rev/07d3c1f6979d
branches: trunk
changeset: 969006:07d3c1f6979d
user: martin <martin%NetBSD.org@localhost>
date: Tue Feb 04 13:53:07 2020 +0000
description:
Fix oversight
diffstat:
sys/arch/emips/ebus/if_le_ebus.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b993386695e4 -r 07d3c1f6979d sys/arch/emips/ebus/if_le_ebus.c
--- a/sys/arch/emips/ebus/if_le_ebus.c Tue Feb 04 13:47:34 2020 +0000
+++ b/sys/arch/emips/ebus/if_le_ebus.c Tue Feb 04 13:53:07 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_le_ebus.c,v 1.22 2020/02/04 07:35:45 skrll Exp $ */
+/* $NetBSD: if_le_ebus.c,v 1.23 2020/02/04 13:53:07 martin Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_le_ebus.c,v 1.22 2020/02/04 07:35:45 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_le_ebus.c,v 1.23 2020/02/04 13:53:07 martin Exp $");
#include "opt_inet.h"
@@ -554,7 +554,7 @@
printf("enic_watch ctl=%x\n", sc->sc_regs->Control);
#endif
log(LOG_ERR, "%s: device timeout\n", device_xname(sc->sc_dev));
- ++ifp->if_oerrors;
+ if_statinc(ifp, if_oerrors);
enic_reset(ifp);
}
Home |
Main Index |
Thread Index |
Old Index