1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

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:
Toomas Soome 2016-12-30 20:00:41 +00:00
parent 1ecc859193
commit ba8cf3277a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=310853

View File

@ -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) {