From 03cd51df00d58624f6b4d770f597bdae1acb696c Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Tue, 23 Jun 2009 09:02:24 +0000 Subject: [PATCH] Fix what seems to be an obvious typo preventing the body of the if statement to ever be executed. Approved by: ed (mentor) --- sys/dev/firewire/fwdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c index 9cbb5e44d64a..0facb6e3963f 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; }