aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJustin T. Gibbs <gibbs@FreeBSD.org>1998-09-15 22:07:24 +0000
committerJustin T. Gibbs <gibbs@FreeBSD.org>1998-09-15 22:07:24 +0000
commit9f02ad60735d2f13650512c3c74bd610f1785772 (patch)
tree790c4aba6b5e90cdd5c0a590f1da38a2b2552ec9 /sys/dev
parent6bb20c5063be6bae2c52a3f928b04f22b9c745fa (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/fdc/fdc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index 8c6a2d6aba0c5..d04f98a1f388c 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.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 :