summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2010-07-05 10:41:36 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2010-07-05 10:41:36 +0000
commit7a06c554ddc3961174788a0752ad7b2e2eb4b052 (patch)
treeb4064fe6ceacfbb13939dcfb1dae6f2e178e2c68 /sys/arch/macppc/dev
parentdf866d7881847bdb3ec9b029aa5ce1032fc2116b (diff)
timeout_add -> timeout_add_sec
ok drahn@
Diffstat (limited to 'sys/arch/macppc/dev')
-rw-r--r--sys/arch/macppc/dev/z8530tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/z8530tty.c b/sys/arch/macppc/dev/z8530tty.c
index b0b6e6e66e5..08ec3910d61 100644
--- a/sys/arch/macppc/dev/z8530tty.c
+++ b/sys/arch/macppc/dev/z8530tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530tty.c,v 1.14 2010/07/02 17:27:01 nicm Exp $ */
+/* $OpenBSD: z8530tty.c,v 1.15 2010/07/05 10:41:35 blambert Exp $ */
/* $NetBSD: z8530tty.c,v 1.13 1996/10/16 20:42:14 gwr Exp $ */
/*-
@@ -1408,7 +1408,7 @@ zstty_rxsoft(struct zstty_softc *zst, struct tty *tp)
if (cc == zstty_rbuf_size) {
zst->zst_floods++;
if (zst->zst_errors++ == 0)
- timeout_add(&zst->zst_diag_ch, 60 * hz);
+ timeout_add_sec(&zst->zst_diag_ch, 60);
}
/* If not yet open, drop the entire buffer content here */