MFi386: revision 251039

Use slightly more idiomatic expression to get the address of array.
This commit is contained in:
Yoshihiro Takahashi 2013-06-01 12:21:59 +00:00
parent 0ad17e4b32
commit 0ead4cbf9f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251222

View File

@ -2789,7 +2789,7 @@ get_fpcontext(struct thread *td, mcontext_t *mcp)
bzero(mcp->mc_fpstate, sizeof(mcp->mc_fpstate));
#else
mcp->mc_ownedfp = npxgetregs(td);
bcopy(&td->td_pcb->pcb_user_save, &mcp->mc_fpstate,
bcopy(&td->td_pcb->pcb_user_save, &mcp->mc_fpstate[0],
sizeof(mcp->mc_fpstate));
mcp->mc_fpformat = npxformat();
#endif