diff --git a/lib/libstand/nandfs.c b/lib/libstand/nandfs.c index 5356b500a13b..fe3a8ab38339 100644 --- a/lib/libstand/nandfs.c +++ b/lib/libstand/nandfs.c @@ -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) {