diff options
author | dg <dg@FreeBSD.org> | 1994-12-23 22:44:55 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-12-23 22:44:55 +0000 |
commit | 5e6d82464afc091dcf490cf399753279793a4e4f (patch) | |
tree | 7999ff42ac53d18b5df45049f092f8cd2dccc144 /sys/scsi/sd.c | |
parent | f702f209f8069f0803e384a561c27b26bc1d1c40 (diff) | |
download | FreeBSD-src-5e6d82464afc091dcf490cf399753279793a4e4f.zip FreeBSD-src-5e6d82464afc091dcf490cf399753279793a4e4f.tar.gz |
Fixed byte count stat.
Submitted by: John Dyson
Diffstat (limited to 'sys/scsi/sd.c')
-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 1a8ec4c..d01a7de 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.44 1994/12/16 06:03:24 phk Exp $ + * $Id: sd.c,v 1.45 1994/12/22 21:18:48 se 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 >> 1; + dk_wds[sd->dkunit] += bp->b_bcount / DEV_BSIZE; } } else { bad: |