summaryrefslogtreecommitdiffstats
path: root/sys/isa/fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/isa/fd.c')
-rw-r--r--sys/isa/fd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c
index 8c6a2d6..d04f98a 100644
--- a/sys/isa/fd.c
+++ b/sys/isa/fd.c
@@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.121 1998/09/14 19:56:39 sos Exp $
+ * $Id: fd.c,v 1.122 1998/09/15 08:15:28 gibbs Exp $
*
*/
@@ -1744,7 +1744,6 @@ retrier(fdcu)
struct subdev *sd;
fdc_p fdc = fdc_data + fdcu;
register struct buf *bp;
- struct fd_data *fd;
int fdu;
bp = bufq_first(&fdc->head);
@@ -1794,7 +1793,7 @@ retrier(fdcu)
bufq_remove(&fdc->head, bp);
/* Tell devstat we have finished with the transaction */
- devstat_end_transaction(&fd->device_stats,
+ devstat_end_transaction(&fdc->fd->device_stats,
bp->b_bcount - bp->b_resid,
DEVSTAT_TAG_NONE,
(bp->b_flags & B_READ) ? DEVSTAT_READ :
OpenPOWER on IntegriCloud