summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdc
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1997-09-23 22:14:43 +0000
committergibbs <gibbs@FreeBSD.org>1997-09-23 22:14:43 +0000
commit10dcf9284cee89c1815f8194772e78d238da25e7 (patch)
treee12267e476f62e2dff83de0b596bd8897aa53abb /sys/dev/fdc
parentc73c4cd778b151b09d86d9184640e758e58fa955 (diff)
downloadFreeBSD-src-10dcf9284cee89c1815f8194772e78d238da25e7.zip
FreeBSD-src-10dcf9284cee89c1815f8194772e78d238da25e7.tar.gz
Fix a call to timeout that wasn't properly saving it's callout handle.
Submitted by: durian@plutotech.com
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r--sys/dev/fdc/fdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index a2aac72..72e7d7a 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.102 1997/09/17 20:16:14 tegge Exp $
+ * $Id: fd.c,v 1.103 1997/09/21 21:41:00 gibbs Exp $
*
*/
@@ -1326,7 +1326,7 @@ fdstate(fdcu_t fdcu, fdc_p fdc)
TRACE1("[%s]", fdstates[fdc->state]);
TRACE1("(0x%x)", fd->flags);
untimeout(fd_turnoff, (caddr_t)fdu, fd->toffhandle);
- timeout(fd_turnoff, (caddr_t)fdu, 4 * hz);
+ fd->toffhandle = timeout(fd_turnoff, (caddr_t)fdu, 4 * hz);
switch (fdc->state)
{
case DEVIDLE:
OpenPOWER on IntegriCloud