MFi386: revision 251039

Use slightly more idiomatic expression to get the address of array.
This commit is contained in:
nyan 2013-06-01 12:21:59 +00:00
parent e27884bd80
commit 6a699f9f06

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