diff options
author | simokawa <simokawa@FreeBSD.org> | 2004-03-24 01:29:08 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2004-03-24 01:29:08 +0000 |
commit | f101e77ea90dcd0eb64122bb6a520efd5cf2059c (patch) | |
tree | 97dd96f8b02c4926f1633f560697f268a39a07e4 | |
parent | 96972b1e951e644259475e6581d4e08911093716 (diff) | |
download | FreeBSD-src-f101e77ea90dcd0eb64122bb6a520efd5cf2059c.zip FreeBSD-src-f101e77ea90dcd0eb64122bb6a520efd5cf2059c.tar.gz |
Fix a bug introduced in rev 1.33(mega API change).
Because xfer->send.payload is a pointer to the buffer, '&' shouldn't be there.
Submitted by: John Weisgerber <weisgerberj@gsilumonics.com>
PR: misc/64623
-rw-r--r-- | sys/dev/firewire/fwdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c index b5a7d5d..c07be11 100644 --- a/sys/dev/firewire/fwdev.c +++ b/sys/dev/firewire/fwdev.c @@ -563,7 +563,7 @@ fw_ioctl (dev_t dev, u_long cmd, caddr_t data, int flag, fw_proc *td) bcopy(fp, (void *)&xfer->send.hdr, tinfo->hdr_len); if (pay_len > 0) bcopy((char *)fp + tinfo->hdr_len, - (void *)&xfer->send.payload, pay_len); + (void *)xfer->send.payload, pay_len); xfer->send.spd = asyreq->req.sped; xfer->act.hand = fw_asy_callback; |