Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2016 02:06:02 +0000 (UTC)
From:      Allan Jude <allanjude@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r298242 - head/lib/libstand
Message-ID:  <201604190206.u3J2620l002287@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <lifanov@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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604190206.u3J2620l002287>