Author: allanjude Date: Tue Apr 19 02:06:02 2016 New Revision: 298242 URL: https://svnweb.freebsd.org/changeset/base/298242
Log: Unbreak the build if you enable WITH_NAND Followup to r298230 Submitted by: Nikolai Lifanov <lifa...@mail.lifanov.com> (original version) Sponsored by: ScaleEngine Inc. Modified: head/lib/libstand/nandfs.c Modified: head/lib/libstand/nandfs.c ============================================================================== --- head/lib/libstand/nandfs.c Tue Apr 19 02:05:32 2016 (r298241) +++ head/lib/libstand/nandfs.c Tue Apr 19 02:06:02 2016 (r298242) @@ -1024,7 +1024,7 @@ ioread(struct open_file *f, off_t pos, v buffer = malloc(nsec * bsize); - err = (f->f_dev->dv_strategy)(f->f_devdata, F_READ, pos, + err = (f->f_dev->dv_strategy)(f->f_devdata, F_READ, pos, 0, nsec * bsize, buffer, NULL); memcpy(buf, (void *)((uintptr_t)buffer + off), length); @@ -1045,7 +1045,7 @@ nandfs_probe_sectorsize(struct open_file for (i = 512; i < (16 * 1024); i <<= 1) { NANDFS_DEBUG("%d ", i); - err = (f->f_dev->dv_strategy)(f->f_devdata, F_READ, 0, i, + err = (f->f_dev->dv_strategy)(f->f_devdata, F_READ, 0, 0, i, buffer, NULL); if (err == 0) { _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"