Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2016 20:00:42 +0000 (UTC)
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r310853 - head/lib/libstand
Message-ID:  <201612302000.uBUK0gFK069186@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tsoome
Date: Fri Dec 30 20:00:41 2016
New Revision: 310853
URL: https://svnweb.freebsd.org/changeset/base/310853

Log:
  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

Modified:
  head/lib/libstand/nandfs.c

Modified: head/lib/libstand/nandfs.c
==============================================================================
--- head/lib/libstand/nandfs.c	Fri Dec 30 19:55:04 2016	(r310852)
+++ head/lib/libstand/nandfs.c	Fri Dec 30 20:00:41 2016	(r310853)
@@ -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, 0, i,
+		err = (f->f_dev->dv_strategy)(f->f_devdata, F_READ, 0, i,
 		    buffer, NULL);
 
 		if (err == 0) {



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