From owner-svn-src-all@FreeBSD.ORG Mon Jul 20 03:59:01 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFA3F1065673; Mon, 20 Jul 2009 03:59:01 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DDA3E8FC0C; Mon, 20 Jul 2009 03:59:01 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n6K3x0Qw065599; Mon, 20 Jul 2009 03:59:00 GMT (envelope-from scottl@svn.freebsd.org) Received: (from scottl@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n6K3x0aD065598; Mon, 20 Jul 2009 03:59:00 GMT (envelope-from scottl@svn.freebsd.org) Message-Id: <200907200359.n6K3x0aD065598@svn.freebsd.org> From: Scott Long Date: Mon, 20 Jul 2009 03:59:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r195776 - head/sys/dev/ciss X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2009 03:59:02 -0000 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;