summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblambert <blambert@openbsd.org>2009-07-23 21:10:37 +0000
committerblambert <blambert@openbsd.org>2009-07-23 21:10:37 +0000
commitdce0a3b8612d29e03acbe9ba0f8e993678a8bb6d (patch)
tree5564cc4eb2ca11e01a23c192110a40f8b504a7f4
parenta trio of timeout_add conversions (diff)
downloadwireguard-openbsd-dce0a3b8612d29e03acbe9ba0f8e993678a8bb6d.tar.xz
wireguard-openbsd-dce0a3b8612d29e03acbe9ba0f8e993678a8bb6d.zip
timeout_add -> timeout_add_msec
ok miod@
-rw-r--r--sys/arch/hp300/dev/mb89352.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hp300/dev/mb89352.c b/sys/arch/hp300/dev/mb89352.c
index 298e55264d9..1487cefbbb2 100644
--- a/sys/arch/hp300/dev/mb89352.c
+++ b/sys/arch/hp300/dev/mb89352.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mb89352.c,v 1.17 2009/02/16 21:19:04 miod Exp $ */
+/* $OpenBSD: mb89352.c,v 1.18 2009/07/23 21:10:37 blambert Exp $ */
/* $NetBSD: mb89352.c,v 1.5 2000/03/23 07:01:31 thorpej Exp $ */
/* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */
@@ -1622,8 +1622,8 @@ start:
if ((acb->xs->flags & SCSI_POLL) == 0) {
timeout_set(&acb->xs->stimeout, spc_timeout,
acb);
- timeout_add(&acb->xs->stimeout,
- (acb->timeout * hz) / 1000);
+ timeout_add_msec(&acb->xs->stimeout,
+ acb->timeout);
}
sc->sc_state = SPC_CONNECTED;
} else if ((ints & INTS_TIMEOUT) != 0) {