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
This commit is contained in:
parent
eb01b42587
commit
a832f947f3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127347
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user