loader: nandfs calls strategy with one extra argument.
The strategy argument cleanup in r310850 did miss another call to strategy(), and left it with extra argument. Reviewed by: allanjude Approved by: allanjude (mentor) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D9003
This commit is contained in:
parent
1ecc859193
commit
ba8cf3277a
@ -1045,7 +1045,7 @@ nandfs_probe_sectorsize(struct open_file *f)
|
||||
|
||||
for (i = 512; i < (16 * 1024); i <<= 1) {
|
||||
NANDFS_DEBUG("%d ", i);
|
||||
err = (f->f_dev->dv_strategy)(f->f_devdata, F_READ, 0, 0, i,
|
||||
err = (f->f_dev->dv_strategy)(f->f_devdata, F_READ, 0, i,
|
||||
buffer, NULL);
|
||||
|
||||
if (err == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user