Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 09:02:24 +0000 (UTC)
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194687 - head/sys/dev/firewire
Message-ID:  <200906230902.n5N92OnJ069334@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 	}
 



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