summaryrefslogtreecommitdiff
path: root/sys/dev/pci/cz.c
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2009-01-11 16:55:00 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2009-01-11 16:55:00 +0000
commit6254d18da4261171d49fa4a15608cee482b92f47 (patch)
tree12a1e9c0b0b4950a774fa231889ac60993c9e093 /sys/dev/pci/cz.c
parent4084e28db0c6bedbe315fa8082c60a0caad21e07 (diff)
Actual final round of timeout_add(to, n * hz) -> timeout_add_sec(to, n)
conversions. ok kettenis@ ok krw@ (possibly for the second time :)
Diffstat (limited to 'sys/dev/pci/cz.c')
-rw-r--r--sys/dev/pci/cz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/cz.c b/sys/dev/pci/cz.c
index 2776c396f31..6a057aa6c32 100644
--- a/sys/dev/pci/cz.c
+++ b/sys/dev/pci/cz.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cz.c,v 1.10 2007/10/06 23:50:54 krw Exp $ */
+/* $OpenBSD: cz.c,v 1.11 2009/01/11 16:54:59 blambert Exp $ */
/* $NetBSD: cz.c,v 1.15 2001/01/20 19:10:36 thorpej Exp $ */
/*-
@@ -785,7 +785,7 @@ cz_intr(void *arg)
sc->sc_overflows++;
error_common:
if (sc->sc_errors++ == 0)
- timeout_add(&sc->sc_diag_to, 60 * hz);
+ timeout_add_sec(&sc->sc_diag_to, 60);
break;
case C_CM_RXBRK: