From 7a06c554ddc3961174788a0752ad7b2e2eb4b052 Mon Sep 17 00:00:00 2001 From: Bret Lambert Date: Mon, 5 Jul 2010 10:41:36 +0000 Subject: timeout_add -> timeout_add_sec ok drahn@ --- sys/arch/macppc/dev/z8530tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/macppc/dev') 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 */ -- cgit v1.2.3