diff options
author | 2010-07-05 10:41:35 +0000 | |
---|---|---|
committer | 2010-07-05 10:41:35 +0000 | |
commit | b43bbd24f8b1e58d5421adc04cc3e2f81f30b057 (patch) | |
tree | 1c165b367e5d7aaf823e22b12e0f31d873ca6e66 /sys | |
parent | Sync recent mono MODULE change. (diff) | |
download | wireguard-openbsd-b43bbd24f8b1e58d5421adc04cc3e2f81f30b057.tar.xz wireguard-openbsd-b43bbd24f8b1e58d5421adc04cc3e2f81f30b057.zip |
timeout_add -> timeout_add_sec
ok drahn@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/macppc/dev/z8530tty.c | 4 |
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 */ |