summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblambert <blambert@openbsd.org>2009-07-31 20:43:31 +0000
committerblambert <blambert@openbsd.org>2009-07-31 20:43:31 +0000
commitb1faeb595a183f66374902fa7d883067bad484f9 (patch)
tree50b5677473e841ccfe8895eab44373bf82038a81
parentAllow hotspares to be added to bio devices rather than requiring an sd (diff)
downloadwireguard-openbsd-b1faeb595a183f66374902fa7d883067bad484f9.tar.xz
wireguard-openbsd-b1faeb595a183f66374902fa7d883067bad484f9.zip
timeout_add -> timeout_add_msec
ok jakemsr@
-rw-r--r--sys/dev/isa/sbdsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/sbdsp.c b/sys/dev/isa/sbdsp.c
index 2f4ee99385d..12d6e5cd063 100644
--- a/sys/dev/isa/sbdsp.c
+++ b/sys/dev/isa/sbdsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbdsp.c,v 1.27 2008/01/14 01:25:50 jakemsr Exp $ */
+/* $OpenBSD: sbdsp.c,v 1.28 2009/07/31 20:43:31 blambert Exp $ */
/*
* Copyright (c) 1991-1993 Regents of the University of California.
@@ -1018,7 +1018,7 @@ sbdsp_pause(sc)
{
extern int hz;
- timeout_add(&sc->sc_tmo, hz/8);
+ timeout_add_msec(&sc->sc_tmo, 125); /* 8x per second */
(void)tsleep(sbdsp_to, PWAIT, "sbpause", 0);
}