mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
The bde script has a bug, I used a patch from it verbatim, bad idea....
Fixed...
This commit is contained in:
parent
752b4f600f
commit
cc8baa1136
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57060
@ -304,8 +304,8 @@ afd_start(struct afd_softc *fdp)
|
||||
return;
|
||||
}
|
||||
|
||||
lba = bp->b_pblkno / (fdp->cap.sector_size / DEV_BSIZE);
|
||||
count = bp->b_bcount;
|
||||
lba = bp->b_pblkno;
|
||||
count = bp->b_bcount / fdp->cap.sector_size;
|
||||
data_ptr = bp->b_data;
|
||||
bp->b_resid = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user