diff options
author | bde <bde@FreeBSD.org> | 1994-12-24 09:48:32 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-12-24 09:48:32 +0000 |
commit | 7db9d9fae84f5257c7043e5e5839cc739aecef2a (patch) | |
tree | 1bd31c5f0380375c93b0d1650c0b042634c7dec0 /sys/scsi | |
parent | 0b71a7ab6b8be9f8af7023f247c9b9750277269f (diff) | |
download | FreeBSD-src-7db9d9fae84f5257c7043e5e5839cc739aecef2a.zip FreeBSD-src-7db9d9fae84f5257c7043e5e5839cc739aecef2a.tar.gz |
Fix the "wds" count stat.
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/cd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 60a4565..f42b6df 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992 * - * $Id: cd.c,v 1.30 1994/12/03 22:52:55 phk Exp $ + * $Id: cd.c,v 1.31 1994/12/16 06:03:22 phk Exp $ */ #define SPLCD splbio @@ -611,7 +611,7 @@ cdstart(unit) if(cd->dkunit) { dk_xfer[cd->dkunit]++; dk_seek[cd->dkunit]++; /* don't know */ - dk_wds[cd->dkunit] += bp->b_bcount >> 1; + dk_wds[cd->dkunit] += bp->b_bcount >> 6; } } |