diff options
author | dg <dg@FreeBSD.org> | 1994-12-23 23:03:32 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-12-23 23:03:32 +0000 |
commit | 28977d3f3227c4fbba1c2352a6ac0d197ed8f345 (patch) | |
tree | b90e1cb408f31df669c748d6ecc026792d6674df /sys/scsi | |
parent | b2e597805f7dd3ac319104f7ec6c44563e4b5083 (diff) | |
download | FreeBSD-src-28977d3f3227c4fbba1c2352a6ac0d197ed8f345.zip FreeBSD-src-28977d3f3227c4fbba1c2352a6ac0d197ed8f345.tar.gz |
Revert last patch - it's wrong.
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/sd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index d01a7de..95c1aef 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992 * - * $Id: sd.c,v 1.45 1994/12/22 21:18:48 se Exp $ + * $Id: sd.c,v 1.46 1994/12/23 22:44:55 davidg Exp $ */ #define SPLSD splbio @@ -649,7 +649,7 @@ sdstart(unit) if(sd->dkunit >= 0) { dk_xfer[sd->dkunit]++; dk_seek[sd->dkunit]++; /* don't know */ - dk_wds[sd->dkunit] += bp->b_bcount / DEV_BSIZE; + dk_wds[sd->dkunit] += bp->b_bcount >> 1; } } else { bad: |