summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2009-06-23 09:02:24 +0000
committerrdivacky <rdivacky@FreeBSD.org>2009-06-23 09:02:24 +0000
commit2dddbc74133124806256d9da2600203460848dcd (patch)
treec52d514378a84b7935ae0c1a5799b7f0f82e0734
parent8c6aabce2b2b9a6a56d4157c50c7bfe69876dd99 (diff)
downloadFreeBSD-src-2dddbc74133124806256d9da2600203460848dcd.zip
FreeBSD-src-2dddbc74133124806256d9da2600203460848dcd.tar.gz
Fix what seems to be an obvious typo preventing the body of the
if statement to ever be executed. Approved by: ed (mentor)
-rw-r--r--sys/dev/firewire/fwdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c
index 9cbb5e4..0facb6e 100644
--- a/sys/dev/firewire/fwdev.c
+++ b/sys/dev/firewire/fwdev.c
@@ -443,7 +443,7 @@ fw_write_async(struct fw_drv1 *d, struct uio *uio, int ioflag)
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;
}
OpenPOWER on IntegriCloud