summaryrefslogtreecommitdiffstats
path: root/sys/dev/le/lance.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/le/lance.c')
-rw-r--r--sys/dev/le/lance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/le/lance.c b/sys/dev/le/lance.c
index 2a2b0e0..38be317 100644
--- a/sys/dev/le/lance.c
+++ b/sys/dev/le/lance.c
@@ -446,7 +446,7 @@ lance_watchdog(void *xsc)
}
if_printf(ifp, "device timeout\n");
- ++ifp->if_oerrors;
+ if_inc_counter(ifp, IFCOUNTER_OERRORS, 1);
lance_init_locked(sc);
}
OpenPOWER on IntegriCloud