Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 2009 03:59:00 +0000 (UTC)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r195776 - head/sys/dev/ciss
Message-ID:  <200907200359.n6K3x0aD065598@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: scottl
Date: Mon Jul 20 03:59:00 2009
New Revision: 195776
URL: http://svn.freebsd.org/changeset/base/195776

Log:
  Fix an apparently harmless typo.
  
  Approved by:	re

Modified:
  head/sys/dev/ciss/ciss.c

Modified: head/sys/dev/ciss/ciss.c
==============================================================================
--- head/sys/dev/ciss/ciss.c	Sun Jul 19 23:11:08 2009	(r195775)
+++ head/sys/dev/ciss/ciss.c	Mon Jul 20 03:59:00 2009	(r195776)
@@ -2687,7 +2687,7 @@ ciss_request_map_helper(void *arg, bus_d
     if (cr->cr_flags & CISS_REQ_DATAOUT)
 	bus_dmamap_sync(sc->ciss_buffer_dmat, cr->cr_datamap, BUS_DMASYNC_PREWRITE);
 
-    if (nseg == 1)
+    if (nseg == 0)
 	cr->cr_sg_tag = CISS_SG_NONE;
     else if (nseg == 1)
 	cr->cr_sg_tag = CISS_SG_1;



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