summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/z8530tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/z8530tty.c')
-rw-r--r--sys/arch/sparc/dev/z8530tty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/z8530tty.c b/sys/arch/sparc/dev/z8530tty.c
index 638e423e169..83d7da7d24d 100644
--- a/sys/arch/sparc/dev/z8530tty.c
+++ b/sys/arch/sparc/dev/z8530tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530tty.c,v 1.9 2008/03/01 17:56:42 kettenis Exp $ */
+/* $OpenBSD: z8530tty.c,v 1.10 2008/10/15 19:12:19 blambert Exp $ */
/* $NetBSD: z8530tty.c,v 1.13 1996/10/16 20:42:14 gwr Exp $ */
/*-
@@ -1463,7 +1463,7 @@ zstty_rxsoft(zst, 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 */
@@ -1480,7 +1480,7 @@ zstty_rxsoft(zst, tp)
if (ISSET(rr1, ZSRR1_DO)) {
zst->zst_overflows++;
if (zst->zst_errors++ == 0)
- timeout_add(&zst->zst_diag_ch, 60 * hz);
+ timeout_add_sec(&zst->zst_diag_ch, 60);
}
if (ISSET(rr1, ZSRR1_FE))
SET(code, TTY_FE);