From owner-svn-src-all@FreeBSD.ORG Tue Jun 23 09:02:24 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 C3BC61065670; Tue, 23 Jun 2009 09:02:24 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B1FB78FC1A; Tue, 23 Jun 2009 09:02:24 +0000 (UTC) (envelope-from rdivacky@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 n5N92Oeg069336; Tue, 23 Jun 2009 09:02:24 GMT (envelope-from rdivacky@svn.freebsd.org) Received: (from rdivacky@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5N92OnJ069334; Tue, 23 Jun 2009 09:02:24 GMT (envelope-from rdivacky@svn.freebsd.org) Message-Id: <200906230902.n5N92OnJ069334@svn.freebsd.org> From: Roman Divacky Date: Tue, 23 Jun 2009 09:02:24 +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: r194687 - head/sys/dev/firewire 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: Tue, 23 Jun 2009 09:02:25 -0000 Author: rdivacky Date: Tue Jun 23 09:02:24 2009 New Revision: 194687 URL: http://svn.freebsd.org/changeset/base/194687 Log: Fix what seems to be an obvious typo preventing the body of the if statement to ever be executed. Approved by: ed (mentor) Modified: head/sys/dev/firewire/fwdev.c Modified: head/sys/dev/firewire/fwdev.c ============================================================================== --- head/sys/dev/firewire/fwdev.c Tue Jun 23 08:51:11 2009 (r194686) +++ head/sys/dev/firewire/fwdev.c Tue Jun 23 09:02:24 2009 (r194687) @@ -443,7 +443,7 @@ fw_write_async(struct fw_drv1 *d, struct xfer->send.pay_len = uio->uio_resid; if (uio->uio_resid > 0) { if ((err = uiomove((caddr_t)&xfer->send.payload[0], - uio->uio_resid, uio))); + uio->uio_resid, uio))) goto out; }